Click here to Skip to main content
15,902,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Coding plugins with dlls Pin
makom4220-Aug-02 0:54
makom4220-Aug-02 0:54 
GeneralRe: Coding plugins with dlls Pin
Tomasz Sowinski20-Aug-02 0:56
Tomasz Sowinski20-Aug-02 0:56 
GeneralRe: Coding plugins with dlls Pin
Roger Allen20-Aug-02 2:38
Roger Allen20-Aug-02 2:38 
GeneralDifferent views Pin
tulc_kris19-Aug-02 22:31
tulc_kris19-Aug-02 22:31 
GeneralRe: Different views Pin
Tomasz Sowinski20-Aug-02 0:58
Tomasz Sowinski20-Aug-02 0:58 
GeneralControl Painting Pin
albean19-Aug-02 20:15
albean19-Aug-02 20:15 
GeneralRe: Control Painting Pin
Paul M Watt19-Aug-02 21:18
mentorPaul M Watt19-Aug-02 21:18 
GeneralRe: Control Painting Pin
albean19-Aug-02 21:56
albean19-Aug-02 21:56 
In the form designer for Visual Studio you can put a number of buttons on top of each other. In fact you can completely cover one with another. But when you select all the buttons on the form every button’s selection rectangle is displayed - even the one that is completely covered. (You can see bottom button’s selection rectangle drawn OVER the top most button even though the bottom button is completely hidden below the top most button.)

I need to know when all the controls (buttons) on a form are done painting so I can then paint my selection rectangles to the screen (and over any covering control).

Here’s the kicker: I’m doing this in C# and there does not seem to be anyway to do this in a straightforward way. (I have a couple other ideas/suggestions that involve overriding each control’s Paint event or using a window atop the main form.) But I’m hoping that there is someway to do this from a low-level windows perspective. Thus my foray into windows messages and my post here in this forum.

I’ve seen the message WM_QUERYUISTATE pop up in Spy++ for a number of windows but there isn’t much documentation for this message. I’m wonder if I can use it or some other message to determine when the form is finished painted so I can go ahead and paint the selection rectangles over the top of the entire form.

QuestionHow the program can know that the screen is updated Pin
Chintan19-Aug-02 20:04
Chintan19-Aug-02 20:04 
AnswerRe: How the program can know that the screen is updated Pin
Christian Graus19-Aug-02 20:50
protectorChristian Graus19-Aug-02 20:50 
GeneralSite feedback Pin
Anonymous_Posting19-Aug-02 19:46
sussAnonymous_Posting19-Aug-02 19:46 
GeneralRe: Site feedback Pin
Chris Maunder20-Aug-02 1:06
cofounderChris Maunder20-Aug-02 1:06 
GeneralProblem in getting a field value of a dialog Pin
Didaa19-Aug-02 19:38
Didaa19-Aug-02 19:38 
GeneralRe: Problem in getting a field value of a dialog Pin
Paul M Watt19-Aug-02 20:01
mentorPaul M Watt19-Aug-02 20:01 
GeneralRe: Problem in getting a field value of a dialog Pin
jhwurmbach19-Aug-02 21:36
jhwurmbach19-Aug-02 21:36 
QuestionHow to create CListCtrl ?? Pin
tulc_kris19-Aug-02 19:11
tulc_kris19-Aug-02 19:11 
AnswerRe: How to create CListCtrl ?? Pin
Shog919-Aug-02 19:24
sitebuilderShog919-Aug-02 19:24 
GeneralRe: How to create CListCtrl ?? Pin
tulc_kris19-Aug-02 20:14
tulc_kris19-Aug-02 20:14 
GeneralRe: How to create CListCtrl ?? Pin
Shog920-Aug-02 2:31
sitebuilderShog920-Aug-02 2:31 
GeneralDDE Pin
udayGovekar19-Aug-02 18:46
udayGovekar19-Aug-02 18:46 
GeneralRe: DDE Pin
Paul M Watt19-Aug-02 19:07
mentorPaul M Watt19-Aug-02 19:07 
GeneralClose a view, Urgent!!! Pin
JamesYang19-Aug-02 17:23
JamesYang19-Aug-02 17:23 
GeneralRe: Close a view, Urgent!!! Pin
Michael Dunn19-Aug-02 17:54
sitebuilderMichael Dunn19-Aug-02 17:54 
QuestionHow to put a pic as output? Pin
Masta G19-Aug-02 16:35
Masta G19-Aug-02 16:35 
AnswerRe: How to put a pic as output? Pin
Christian Graus19-Aug-02 16:56
protectorChristian Graus19-Aug-02 16:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.