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 » CListBox question Collapse All
Subject Author Date
tera tera Jan 25, 2011 - 12:49 AM

Hello.


In OnwerDraw, I draw CListBox.

However, I do not understand a method to perform the acquisition and the setting of the position of the focus.


If there is a good method, please teach it.

Technical Support Jan 26, 2011 - 2:26 PM

The ODA_*** flags are always provided by Windows Common Controls. The ODA_FOCUS and ODA_SELECT flags are always provided for focused and selected items. You can find examples of how to use them in Prof-UIS and sample projects

Technical Support Jan 25, 2011 - 12:24 PM

Please use the DRAWITEMSTRUCT::itemAction flags. The ODA_FOCUS flag presence indicates focused item state.

tera tera Jan 25, 2011 - 4:59 PM


I know the existence of ODA_FOCUS.
Do not you know the method except it?