Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147617-Feb-20 3:21
Member 40147617-Feb-20 3:21 
GeneralRe: Change Dir inside CFileDialog Pin
Victor Nijegorodov17-Feb-20 4:41
Victor Nijegorodov17-Feb-20 4:41 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147617-Feb-20 5:01
Member 40147617-Feb-20 5:01 
AnswerRe: Change Dir inside CFileDialog Pin
Victor Nijegorodov11-Feb-20 11:18
Victor Nijegorodov11-Feb-20 11:18 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147611-Feb-20 23:32
Member 40147611-Feb-20 23:32 
QuestionKeeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Alexander Kindel10-Feb-20 0:47
Alexander Kindel10-Feb-20 0:47 
AnswerRe: Keeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Richard MacCutchan10-Feb-20 0:58
mveRichard MacCutchan10-Feb-20 0:58 
GeneralRe: Keeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Alexander Kindel10-Feb-20 13:50
Alexander Kindel10-Feb-20 13:50 
Inserting the font details into the template would save me having to send WM_SETFONT to every control in the dialog that has text while handling WM_INITDIALOG, as I do now, but I don't see what difference it would make in positioning the controls. One of the tools I use to determine the layout is Button_GetIdealSize, which I Can't call until I have an HWND for each control in question. As far as I can tell, that means I can't do it until I've instantiated an instance of the dialog. I guess I could instantiate an instance at startup, position and size the controls, alter the template to reflect the siz and position values this yields, then destroy the dialog. That way, each time an instance of the dialog is instantiated from then on, the layout will already be correct from the start. It seems like a rather tortured usage of the API, though.

I'm not sure what you mean by remeasuring each control. Out of context, I'd have guessed that would mean calling GetWindowRect on each control, but I believe I know what values that would return a priori; it should zero out the struct if I do it before reformatting the control, reflecting the zeroed-out dialog template, and if I do it after reformatting, it should return the values I just specified. I'm similarly confused about what it means to check the control's option settings.
GeneralRe: Keeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Richard MacCutchan10-Feb-20 21:59
mveRichard MacCutchan10-Feb-20 21:59 
RantHow do people even do LL(k) parsing? Pin
honey the codewitch9-Feb-20 7:24
mvahoney the codewitch9-Feb-20 7:24 
GeneralRe: How do people even do LL(k) parsing? Pin
Gerry Schmitz9-Feb-20 9:02
mveGerry Schmitz9-Feb-20 9:02 
GeneralRe: How do people even do LL(k) parsing? Pin
honey the codewitch9-Feb-20 9:50
mvahoney the codewitch9-Feb-20 9:50 
GeneralRe: How do people even do LL(k) parsing? Pin
Gerry Schmitz9-Feb-20 10:23
mveGerry Schmitz9-Feb-20 10:23 
GeneralRe: How do people even do LL(k) parsing? Pin
CPallini9-Feb-20 21:22
mveCPallini9-Feb-20 21:22 
QuestionNon-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 3:34
sdancer754-Feb-20 3:34 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Richard MacCutchan4-Feb-20 6:07
mveRichard MacCutchan4-Feb-20 6:07 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 6:24
sdancer754-Feb-20 6:24 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Richard MacCutchan4-Feb-20 6:52
mveRichard MacCutchan4-Feb-20 6:52 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 20:48
sdancer754-Feb-20 20:48 
AnswerRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Stefan_Lang5-Feb-20 21:41
Stefan_Lang5-Feb-20 21:41 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer755-Feb-20 23:12
sdancer755-Feb-20 23:12 
QuestionRegular expression confusion (std::regex_replace). Pin
Maximilien31-Jan-20 9:27
Maximilien31-Jan-20 9:27 
AnswerRe: Regular expression confusion (std::regex_replace). Pin
k505431-Jan-20 10:17
mvek505431-Jan-20 10:17 
GeneralRe: Regular expression confusion (std::regex_replace). Pin
Maximilien31-Jan-20 12:21
Maximilien31-Jan-20 12:21 
GeneralRe: Regular expression confusion (std::regex_replace). Pin
Maximilien3-Feb-20 13:14
Maximilien3-Feb-20 13:14 

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.