Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » SkinRadioButton Collapse All
Subject Author Date
Ulrich Heinicke Apr 7, 2008 - 2:15 PM

Hi,


i want to use the SkinRadioButton from the example ProfUIS_Control in my project. I copy the code for the class CSkinRadioButton from the file PageButtons.h into my source and add the bitmaps radiobox_xp_blue into the resource file. But every time i change the ID from 0 to IDB_RADIOBOX_IMAGES_XP_BLUE the program crash. Do you have an idea what happens?


Thanks


Ulrich

Ulrich Heinicke Apr 11, 2008 - 2:26 PM

Hi,


i solve the problem. I used the code into an extension dll, but the undocumented class CExtImageList call the function AfxGetInstanceHandle which want to load the bitmap from the main program. The solution is to make a special header and resource file for the bitmaps and include the special header file into the dll source. Then the skin radio button will be display.


It would be very nice to have a documention from the CExtImageList and all the other classes from the ExtPaintManager file.


Ulrich


 

Technical Support Apr 10, 2008 - 11:45 AM

It is hard to say what has happened without seeing the call stack. Would you send it to us? Of course, if you send us a test project that would certainly help us quickly find out what’s wrong.