Click here to Skip to main content
15,845,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147617-Feb-20 4:21
Member 40147617-Feb-20 4:21 
GeneralRe: Change Dir inside CFileDialog Pin
Victor Nijegorodov17-Feb-20 5:41
Victor Nijegorodov17-Feb-20 5:41 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147617-Feb-20 6:01
Member 40147617-Feb-20 6:01 
AnswerRe: Change Dir inside CFileDialog Pin
Victor Nijegorodov11-Feb-20 12:18
Victor Nijegorodov11-Feb-20 12:18 
GeneralRe: Change Dir inside CFileDialog Pin
Member 40147612-Feb-20 0:32
Member 40147612-Feb-20 0:32 
QuestionKeeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Alexander Kindel10-Feb-20 1:47
Alexander Kindel10-Feb-20 1:47 
AnswerRe: Keeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Richard MacCutchan10-Feb-20 1:58
mveRichard MacCutchan10-Feb-20 1:58 
GeneralRe: Keeping UDS_ALIGNRIGHT positioning for an updown control after moving the buddy window Pin
Alexander Kindel10-Feb-20 14:50
Alexander Kindel10-Feb-20 14: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 22:59
mveRichard MacCutchan10-Feb-20 22:59 
RantHow do people even do LL(k) parsing? Pin
honey the codewitch9-Feb-20 8:24
mvahoney the codewitch9-Feb-20 8:24 
GeneralRe: How do people even do LL(k) parsing? Pin
Gerry Schmitz9-Feb-20 10:02
mveGerry Schmitz9-Feb-20 10:02 
GeneralRe: How do people even do LL(k) parsing? Pin
honey the codewitch9-Feb-20 10:50
mvahoney the codewitch9-Feb-20 10:50 
GeneralRe: How do people even do LL(k) parsing? Pin
Gerry Schmitz9-Feb-20 11:23
mveGerry Schmitz9-Feb-20 11:23 
GeneralRe: How do people even do LL(k) parsing? Pin
CPallini9-Feb-20 22:22
mveCPallini9-Feb-20 22:22 
QuestionNon-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 4:34
sdancer754-Feb-20 4:34 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Richard MacCutchan4-Feb-20 7:07
mveRichard MacCutchan4-Feb-20 7:07 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 7:24
sdancer754-Feb-20 7:24 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Richard MacCutchan4-Feb-20 7:52
mveRichard MacCutchan4-Feb-20 7:52 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer754-Feb-20 21:48
sdancer754-Feb-20 21:48 
AnswerRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
Stefan_Lang5-Feb-20 22:41
Stefan_Lang5-Feb-20 22:41 
GeneralRe: Non-latin characters are shown correctly in Debug mode but not in Release Pin
sdancer756-Feb-20 0:12
sdancer756-Feb-20 0:12 
QuestionRegular expression confusion (std::regex_replace). Pin
Maximilien31-Jan-20 10:27
Maximilien31-Jan-20 10:27 
AnswerRe: Regular expression confusion (std::regex_replace). Pin
k505431-Jan-20 11:17
mvek505431-Jan-20 11:17 
GeneralRe: Regular expression confusion (std::regex_replace). Pin
Maximilien31-Jan-20 13:21
Maximilien31-Jan-20 13:21 
GeneralRe: Regular expression confusion (std::regex_replace). Pin
Maximilien3-Feb-20 14:14
Maximilien3-Feb-20 14: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.