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 General Discussion » CExtIPAddressCtrl not well drawn Collapse All
Subject Author Date
Mediatime Conseil Jan 29, 2010 - 6:43 AM

Hi,

I am using profuis and profuis skin to skin my application.
I use visual studio 2008 with profuis 2.83, and I use an XML file to skin the application with images like the samples.

My problem is that i want to use a CExtIPAddressCtrl in a dialog, but it’s not well drawn, the Edit box is skinned correctly, but for the CExtIPAddressCtrl it’s not skinned and the NCarea is not drawn (3pxl around the control), it seem to be taken from the underlaying window.

I can send the screen shot to explain it.


Thank you

Technical Support Jan 29, 2010 - 9:32 AM

Please note, the IP Address common control is not automatically subclassed by SubclassChildControls() and SetAutoSubclassChildControls() Prof-UIS APIs. You should add the CExtIPAddressCtrl property into your dialog’s C++ class. We added two CExtIPAddressCtrl controls (one is enabled and one is disabled) into the Input Fields window in the Skinable sample application and here is the compiled version of it:

http://www.prof-uis.com/download/forums/tmp/SkinableIpAddrCtrl_for_MediatimeConseil.zip

The IP address control looks like edit control. We used Prof-UIS 2.89 in this case. Prof-UIS 2.88 displays the same. Please update to the latest version.