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

C / C++ / MFC

 
Questionhow to add another primary menu - C + in Qt Pin
Salvatore Terress1-Dec-23 7:34
Salvatore Terress1-Dec-23 7:34 
AnswerRe: how to add another primary menu - C + in Qt Pin
Andre Oosthuizen1-Dec-23 23:18
mveAndre Oosthuizen1-Dec-23 23:18 
GeneralRe: how to add another primary menu - C + in Qt Pin
Richard MacCutchan1-Dec-23 23:22
mveRichard MacCutchan1-Dec-23 23:22 
QuestionInvalidate rectangle Pin
Calin Negru1-Dec-23 1:41
Calin Negru1-Dec-23 1:41 
AnswerRe: Invalidate rectangle Pin
CPallini1-Dec-23 2:01
mveCPallini1-Dec-23 2:01 
GeneralRe: Invalidate rectangle Pin
Calin Negru1-Dec-23 2:40
Calin Negru1-Dec-23 2:40 
GeneralRe: Invalidate rectangle Pin
CPallini1-Dec-23 2:56
mveCPallini1-Dec-23 2:56 
AnswerRe: Invalidate rectangle Pin
Richard MacCutchan1-Dec-23 3:13
mveRichard MacCutchan1-Dec-23 3:13 
The only things you should be doing between BeginPaint and EndPaint is redrawing/rewriting the parts of the client window that may have changed. Outside of the WM_PAINT handler, you decide which part (or all) of the window needs to be repainted. You then set those values into a call to InvalidateRect, which will post a WM_PAINT message to your message queue.
GeneralRe: Invalidate rectangle Pin
Calin Negru1-Dec-23 4:55
Calin Negru1-Dec-23 4:55 
GeneralRe: Invalidate rectangle Pin
Richard MacCutchan1-Dec-23 5:28
mveRichard MacCutchan1-Dec-23 5:28 
GeneralRe: Invalidate rectangle Pin
Calin Negru2-Dec-23 6:02
Calin Negru2-Dec-23 6:02 
GeneralRe: Invalidate rectangle Pin
Richard MacCutchan2-Dec-23 7:47
mveRichard MacCutchan2-Dec-23 7:47 
AnswerRe: Invalidate rectangle Pin
charlieg7-Dec-23 2:24
charlieg7-Dec-23 2:24 
Questionanother "include" question... Pin
Salvatore Terress8-Dec-23 6:58
Salvatore Terress8-Dec-23 6:58 
AnswerRe: another "include" question... Pin
MarkTJohnson28-Nov-23 5:32
professionalMarkTJohnson28-Nov-23 5:32 
AnswerRe: another "include" question... Pin
jschell28-Nov-23 5:58
jschell28-Nov-23 5:58 
AnswerRe: another "include" question... Pin
Richard MacCutchan28-Nov-23 6:16
mveRichard MacCutchan28-Nov-23 6:16 
GeneralRe: another "include" question... Pin
k505428-Nov-23 7:11
mvek505428-Nov-23 7:11 
AnswerRe: another "include" question... Pin
Salvatore Terress28-Nov-23 8:38
Salvatore Terress28-Nov-23 8:38 
GeneralRe: another "include" question... Pin
Richard MacCutchan28-Nov-23 22:57
mveRichard MacCutchan28-Nov-23 22:57 
GeneralRe: another "include" question... Pin
Salvatore Terress1-Dec-23 7:42
Salvatore Terress1-Dec-23 7:42 
GeneralRe: another "include" question... Pin
Richard MacCutchan1-Dec-23 7:55
mveRichard MacCutchan1-Dec-23 7:55 
AnswerRe: another "include" question... Pin
Maximilien29-Nov-23 3:33
Maximilien29-Nov-23 3:33 
Questionerror: member access into incomplete type Pin
Salvatore Terress27-Nov-23 7:07
Salvatore Terress27-Nov-23 7:07 
AnswerRe: error: member access into incomplete type Pin
Richard Andrew x6427-Nov-23 11:17
professionalRichard Andrew x6427-Nov-23 11:17 

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.