Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dialog from property sheet? (newbie) Pin
Prem Kumar1-Jul-02 4:47
Prem Kumar1-Jul-02 4:47 
GeneralAttach to process Pin
Hans Ruck1-Jul-02 2:53
Hans Ruck1-Jul-02 2:53 
GeneralRe: Attach to process Pin
Hans Ruck1-Jul-02 3:14
Hans Ruck1-Jul-02 3:14 
GeneralATL service stopping Pin
Hans Ruck1-Jul-02 2:19
Hans Ruck1-Jul-02 2:19 
GeneralRe: ATL service stopping Pin
Christian Graus1-Jul-02 2:27
protectorChristian Graus1-Jul-02 2:27 
GeneralRe: ATL service stopping Pin
Hans Ruck1-Jul-02 2:36
Hans Ruck1-Jul-02 2:36 
GeneralRe: ATL service stopping Pin
Bill Wilson1-Jul-02 9:38
Bill Wilson1-Jul-02 9:38 
QuestionHow to prevent a CFileDialog Box from resizing? Pin
Erik1-Jul-02 2:06
Erik1-Jul-02 2:06 
Hello,

I use an instance of a CFileDialogBox whenever a user saves or loads a file in my application. For some reason, I need the Dialog Box to be a fixed size when loading files, since I have implemented some additional preview features to that box.

However, when a user selects the "save as" CFileDialogBox (which is another instance, of course), and resizes that box, windows somehow saves the size of that Dialog box. When the user now tries to load a file, that instance of CFileDialogBox is displayed at exactly the same size the Save-As Box was resized to.

Why does windows memorize the size of the dialog, and how can I resize the next instance of CFileDialog to its default value (i.e. the value it uses when I start my application)?

I would like to prevent that behaviour, always displaying my File-Open box at the system default standard size. Any suggestions on how to achieve this?

TIA,

Erik.
AnswerRe: How to prevent a CFileDialog Box from resizing? Pin
Prem Kumar1-Jul-02 4:51
Prem Kumar1-Jul-02 4:51 
GeneralRe: How to prevent a CFileDialog Box from resizing? Pin
Erik1-Jul-02 19:02
Erik1-Jul-02 19:02 
GeneralI/O Completion Port Pin
unknown soldier1-Jul-02 0:59
unknown soldier1-Jul-02 0:59 
GeneralRe: I/O Completion Port Pin
Len Holgate1-Jul-02 8:53
Len Holgate1-Jul-02 8:53 
GeneralHigh scale chat server Pin
1-Jul-02 0:47
suss1-Jul-02 0:47 
GeneralRe: High scale chat server Pin
benjymous1-Jul-02 2:02
benjymous1-Jul-02 2:02 
GeneralRe: High scale chat server Pin
Len Holgate1-Jul-02 9:01
Len Holgate1-Jul-02 9:01 
GeneralGet code page of exe Pin
ed welch30-Jun-02 23:08
ed welch30-Jun-02 23:08 
GeneralRe: Get code page of exe Pin
Mike Nordell2-Jul-02 7:20
Mike Nordell2-Jul-02 7:20 
QuestionCan I use standard FTP command to check file properties on remote site? Pin
DengJW30-Jun-02 23:08
DengJW30-Jun-02 23:08 
QuestionMy dialog window doesn't process my accellerator keys? Pin
solosnake30-Jun-02 22:54
solosnake30-Jun-02 22:54 
AnswerRe: My dialog window doesn't process my accellerator keys? Pin
Prem Kumar1-Jul-02 4:56
Prem Kumar1-Jul-02 4:56 
QuestionWhether 'Control' Key is pressed ? Pin
nilaysoft30-Jun-02 22:41
nilaysoft30-Jun-02 22:41 
AnswerRe: Whether 'Control' Key is pressed ? Pin
30-Jun-02 23:29
suss30-Jun-02 23:29 
AnswerRe: Whether 'Control' Key is pressed ? Pin
Mustafa Demirhan1-Jul-02 7:09
Mustafa Demirhan1-Jul-02 7:09 
QuestionCHtmlView Bug? Pin
Renegade30-Jun-02 22:38
Renegade30-Jun-02 22:38 
GeneralDLL's Pin
urid30-Jun-02 22:32
urid30-Jun-02 22:32 

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.