Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: formatting number to kb Pin
Nish Nishant2-Nov-01 4:01
sitebuilderNish Nishant2-Nov-01 4:01 
GeneralRe: formatting number to kb Pin
Xenion2-Nov-01 2:12
Xenion2-Nov-01 2:12 
GeneralFile validation on a server Pin
Ashman1-Nov-01 23:29
Ashman1-Nov-01 23:29 
GeneralRe: File validation on a server Pin
Rassman2-Nov-01 2:01
Rassman2-Nov-01 2:01 
GeneralSimple question about TLS Pin
Maer7271-Nov-01 22:31
Maer7271-Nov-01 22:31 
GeneralRe: Simple question about TLS Pin
James R. Twine2-Nov-01 3:25
James R. Twine2-Nov-01 3:25 
GeneralRe: Simple question about TLS Pin
Maer7272-Nov-01 19:17
Maer7272-Nov-01 19:17 
GeneralStore window size and position Pin
1-Nov-01 22:13
suss1-Nov-01 22:13 
I constructed a resizeable dialog and of course put a class behind it. I want to create an instance of this class and then do several DoModals on it. This means I want to open the Dialog and then close it several times. Because the window can be resized and repositioned I want to store this data and set it back when the dialog opens again. I tried it with Get/SetWindowPosition(), but if I do the SetWindowPosition() in OnInitDialog() and the window was maximized before, the window is drawn two times. The first time it is in its initial size and the second time in the correct stored size. So when the window is opened it is flickering. Has anybody an idea how to restore the old window size after the dialog is opened again without drawing it twice?

Thank you very much!
GeneralRe: Store window size and position Pin
Jon Hulatt1-Nov-01 22:14
Jon Hulatt1-Nov-01 22:14 
GeneralRe: Store window size and position Pin
Nish Nishant1-Nov-01 22:22
sitebuilderNish Nishant1-Nov-01 22:22 
GeneralRe: Store window size and position Pin
Nish Nishant1-Nov-01 22:22
sitebuilderNish Nishant1-Nov-01 22:22 
GeneralRe: Store window size and position Pin
1-Nov-01 22:33
suss1-Nov-01 22:33 
GeneralRe: Store window size and position Pin
Jon Hulatt1-Nov-01 22:57
Jon Hulatt1-Nov-01 22:57 
Generalfocus to button Pin
peterchen1-Nov-01 22:12
peterchen1-Nov-01 22:12 
GeneralRe: focus to button Pin
Nish Nishant1-Nov-01 22:17
sitebuilderNish Nishant1-Nov-01 22:17 
GeneralRe: focus to button Pin
peterchen1-Nov-01 22:34
peterchen1-Nov-01 22:34 
GeneralRe: focus to button Pin
Nish Nishant1-Nov-01 23:06
sitebuilderNish Nishant1-Nov-01 23:06 
GeneralRe: focus to button Pin
peterchen6-Nov-01 11:31
peterchen6-Nov-01 11:31 
GeneralCTabCtrl in CRecordView Pin
Statbat1-Nov-01 21:12
Statbat1-Nov-01 21:12 
QuestionHow to include the required dlls into my dll? Pin
SubbaReddy M1-Nov-01 20:58
SubbaReddy M1-Nov-01 20:58 
AnswerRe: How to include the required dlls into my dll? Pin
Steen Krogsgaard1-Nov-01 21:15
Steen Krogsgaard1-Nov-01 21:15 
GeneralSockets Pin
Adrian Metcalfe1-Nov-01 20:47
Adrian Metcalfe1-Nov-01 20:47 
GeneralRe: Sockets Pin
Nish Nishant1-Nov-01 20:58
sitebuilderNish Nishant1-Nov-01 20:58 
GeneralRe: Sockets Pin
markkuk1-Nov-01 20:59
markkuk1-Nov-01 20:59 
GeneralWindow freezes when ActiveX is used in a DLL Pin
1-Nov-01 20:21
suss1-Nov-01 20:21 

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.