BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Bugs and Problems
 OnDrawItem problem
 New Topic  Topic Locked
Author Previous Topic Topic Next Topic  


1 Posts

Posted - 03/01/2022 :  03:12:57 AM  Show Profile
Good day!

We bought recently BCGControlBar version 32.2.
Till that time we used version 26.1

We noticed such feature - OnDrawItem handler stopped working ( it is used instead of OnPaint ).
It is necessary to draw Static element (it is set in resources with SS_OWNERDRAW option)

We are sending two projects on the base of dialog window - MFCApplication1 #1080; MFCApplication2.
Projects Debug x64, have been created under Visual Studio 2015.

First MFCApplication1 was created on the base of MFC and successfully draws green rectangle at call of Invalidate(FALSE);
So we can conclude that OnDrawItem function, ( in which this rectangle is drawn), is called.

In the second MFCApplication2 (created in BCGControlBar 32.2) OnDrawItem function at call of Invalidate (either FALSE or TRUE)
isn't called.

The rectangle and OK and Cancel buttons aren't drawn.

In BCGControlBar 26.1 everything worked normally.

Is it possible to correct this?

Best regards


4187 Posts

Posted - 03/01/2022 :  03:28:44 AM  Show Profile  Visit Support's Homepage

We already received the same inquiry to our Sales mail account and answered you:

For any technical inquiries, please contact our Support Center:


BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000