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 » Regarding scroll bar Collapse All
Subject Author Date
Trupti Kasvala Jan 23, 2009 - 9:37 PM

Hello sir,


I have following critical problems in my application


I am using Prof-UIS 2.84 version


1. I am not getting SB_LINEUP & SB_LINELEFT event in my dialog scrollbar .Scrollbar is with CExtScrollBar class.


2.I am using status bar in dialog with CExtStatusControlBar.If i use SetPaneText() in function created in thread then it gives assert & finally crash in Debug version of my dialog based application.


Waitng for your early reply.


Trupti


 

Trupti Kasvala Jan 30, 2009 - 6:25 AM

Hello sir,


I am not getting SB_LINEUP and SB_LINELEFT event in scrollbar used in dialog based application.


Please reply as soon as possible.


Trupti

Technical Support Jan 26, 2009 - 11:39 AM

All the MFC classes based on the CWnd class should be used from the same thread where the class and its HWND window handle are created. You should use HWND handles and Win32 APIs for working with windows created in other threads/processes. The CExtScrollBar class sends the same SB_*** notifications as the scroll bar common control does. If you set the CExtScrollBar::m_bSendActionNotifications property to false, then the CExtScrollBar control will send only position changing notifications. But by default this property is set to true.

Trupti Kasvala Jan 30, 2009 - 6:25 AM

Hello sir,


 


I am not getting SB_LINEUP and SB_LINELEFT event in scrollbar used in dialog based application.


 


Please reply as soon as possible.


 


Trupti