G'day

On 1/5/07, E. Lysander <[EMAIL PROTECTED]> wrote:
Or alter things along this line . It isn't difficult to alter a
win-framework to one's own needs.


Remove the CS_HREDRAW and CS_VREDRAW styles from the window by overriding
the GetWndClassInfo() function. Add the following function to your
CComControl-derived class:
static CWndClassInfo& GetWndClassInfo()
{
   static CWndClassInfo wc = {{ sizeof(WNDCLASSEX), 0, StartWindowProc,
   0, 0, 0, 0, 0, (HBRUSH)(COLOR_WINDOW+1), 0, "MyControlClass", 0 },
   NULL, NULL, IDC_ARROW, TRUE, 0, _T("")};
   return wc;
}


Do you have an example project showing how to do this?
Would it work with RB 5.5.5?


--
Keith Hutchison
http://balance-infosystems.com http://realopen.org
http://www.kasamba.com/Keith-Hutchison
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to