Click here to Skip to main content
14,304,285 members

C / C++ / MFC

 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu28-Feb-19 1:56
membermanoharbalu28-Feb-19 1:56 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
speedbump9928-Feb-19 3:01
memberspeedbump9928-Feb-19 3:01 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
manoharbalu1-Mar-19 1:09
membermanoharbalu1-Mar-19 1:09 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
Victor Nijegorodov1-Mar-19 2:25
memberVictor Nijegorodov1-Mar-19 2:25 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
speedbump991-Mar-19 3:18
memberspeedbump991-Mar-19 3:18 
GeneralRe: How to stop flickering of controls in my Dialog window Pin
speedbump991-Mar-19 3:33
memberspeedbump991-Mar-19 3:33 
AnswerRe: How to stop flickering of controls in my Dialog window Pin
leon de boer1-Mar-19 6:48
memberleon de boer1-Mar-19 6:48 
QuestionDialog box margins Pin
Alexander Kindel21-Feb-19 0:24
memberAlexander Kindel21-Feb-19 0:24 
I'm generating dialog templates programmatically for a win32 project. A thing I often want to do is size the dialog box such that the distance between the left edge of the client region and the left edge of the leftmost control is the same as that between the right edge of the rightmost control and the right edge of the client region. Since the size of the dialog box as specified in the template, I believe, includes the non-client area, the only way I know of to do this is to use AdjustWindowRect on a RECT representing the desired client region. Since this requires the handle of the window being adjusted, I can't do it until after the dialog has been created. So I was wondering...if I can't ensure equal margins until runtime, how is it possible that one can use the GUI editor Visual Studio provides to create dialogs with equal margins ahead of time? I want to be able to do that too.
AnswerRe: Dialog box margins Pin
Richard MacCutchan21-Feb-19 1:04
protectorRichard MacCutchan21-Feb-19 1:04 
AnswerRe: Dialog box margins Pin
speedbump9921-Feb-19 8:45
memberspeedbump9921-Feb-19 8:45 
GeneralRe: Dialog box margins Pin
Alexander Kindel21-Feb-19 9:30
memberAlexander Kindel21-Feb-19 9:30 
GeneralRe: Dialog box margins Pin
speedbump9921-Feb-19 10:02
memberspeedbump9921-Feb-19 10:02 
GeneralRe: Dialog box margins Pin
leon de boer22-Feb-19 6:05
memberleon de boer22-Feb-19 6:05 
GeneralRe: Dialog box margins Pin
speedbump9922-Feb-19 10:01
memberspeedbump9922-Feb-19 10:01 
AnswerRe: Dialog box margins Pin
Maximilien22-Feb-19 4:23
memberMaximilien22-Feb-19 4:23 
GeneralRe: Dialog box margins Pin
leon de boer22-Feb-19 5:39
memberleon de boer22-Feb-19 5:39 
GeneralRe: Dialog box margins Pin
Maximilien23-Feb-19 1:49
memberMaximilien23-Feb-19 1:49 
GeneralRe: Dialog box margins Pin
leon de boer23-Feb-19 4:30
memberleon de boer23-Feb-19 4:30 
AnswerRe: Dialog box margins Pin
leon de boer22-Feb-19 5:37
memberleon de boer22-Feb-19 5:37 
GeneralRe: Dialog box margins Pin
Alexander Kindel22-Feb-19 9:04
memberAlexander Kindel22-Feb-19 9:04 
GeneralRe: Dialog box margins Pin
leon de boer22-Feb-19 10:00
memberleon de boer22-Feb-19 10:00 
SuggestionRe: Dialog box margins Pin
David Crow24-Feb-19 16:23
memberDavid Crow24-Feb-19 16:23 
QuestionTraceability of Dynamic Memory Allocation Faults Pin
HS_C_Student16-Feb-19 22:24
memberHS_C_Student16-Feb-19 22:24 
AnswerRe: Traceability of Dynamic Memory Allocation Faults Pin
leon de boer17-Feb-19 20:53
memberleon de boer17-Feb-19 20:53 
AnswerRe: Traceability of Dynamic Memory Allocation Faults Pin
Stefan_Lang18-Feb-19 0:15
memberStefan_Lang18-Feb-19 0:15 

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.