Thanks, I'll try!
Actually, I just wanted to freely use in your graphic-forms which, in principle, anything of possible colors, but also the opportunity to ask them in dialogue is also very valuable. I are made available to users the opportunity, using examples from XDemo.
Somewhere XDemo I saw an example with three sliders (in my tab) to adjust the three color components of the RGB, but now I can not find. Found in eXpress++ build 259: This demo programs #3 Colors.
And you could not give a basic example of how to use: XbpColorDialog (), it's not documented ... And more interestingly, how to set the current color in Alaska indicating the brightness levels of three colors RGB.
I put my system Ajdos-X++ fully available without charge from the source at: http://lc.kubagro.ru/aidos/index.htm
How to draw a line and write the text in the coordinates?
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: How to draw a line and write the text in the coordinates
Last edited by Eugene Lutsenko on Thu Dec 19, 2013 12:48 pm, edited 1 time in total.
Re: How to draw a line and write the text in the coordinates
Look at the function DC_PopColor().
The eXpress train is coming - and it has more cars.
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: How to draw a line and write the text in the coordinates
Looked at the description, like what you need. Made a small test program based on the one in the description. Compiled and linked fine, but the performance gives an error. Can not find the library rXBTBASE1.lib, but it is nowhere and
Re: How to draw a line and write the text in the coordinates
have a look in Xbase++ Help File for XbpSpinButton() which Sample work with RGB Color. As Slider you can use Scrollbar instead of Spinbutton.Eugene Lutsenko wrote:Somewhere XDemo I saw an example with three sliders (in my tab) to adjust the three color components of the RGB, but now I can not find. Found in eXpress++ build 259: This demo programs #3 Colors.
i have point to Alaska Newsgroup where you find working Sample Code and Comments.Eugene Lutsenko wrote:And you could not give a basic example of how to use: XbpColorDialog (), it's not documented ... And more interestingly, how to set the current color in Alaska indicating the brightness levels of three colors RGB.
XbpColorDialog() is just the Xbase++ "Wrapper" to call Common Dialog (ComDlg32.DLL) API Function "ChooseColor".
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
other Common Dialog "Wrapper" are : XbpFileDialog(), XbpPrintDialog(), XbpFontDialog()
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
greetings by OHR
Jimmy
Jimmy
Re: How to draw a line and write the text in the coordinates
you must have something like this in your XPJ Project FileEugene Lutsenko wrote:Compiled and linked fine, but the performance gives an error. Can not find the library rXBTBASE1.lib, but it is nowhere and
Code: Select all
COMPILE_FLAGS = /w ... /rXBTBASE1.lib /rXBTBASE2.lib
take it out and look which XBT Function it use ...
greetings by OHR
Jimmy
Jimmy