Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question Pin
rfixxxer11-Aug-04 9:02
rfixxxer11-Aug-04 9:02 
GeneralRe: Question Pin
dipeka11-Aug-04 17:42
dipeka11-Aug-04 17:42 
GeneralRe: Question Pin
dipeka11-Aug-04 17:40
dipeka11-Aug-04 17:40 
GeneralRe: Question Pin
David Crow11-Aug-04 4:19
David Crow11-Aug-04 4:19 
GeneralRe: Question Pin
rfixxxer11-Aug-04 4:30
rfixxxer11-Aug-04 4:30 
GeneralRe: Question Pin
David Crow11-Aug-04 5:07
David Crow11-Aug-04 5:07 
GeneralRe: Question Pin
rfixxxer11-Aug-04 6:14
rfixxxer11-Aug-04 6:14 
GeneralRe: Question Pin
David Crow11-Aug-04 7:33
David Crow11-Aug-04 7:33 
rfixxxer wrote:
Im opening the file with GUI...

How you open a file and whether the program has a GUI are mutually exclusive things.

rfixxxer wrote:
...f.open in function and closing just with f.close ..Could that be the problem?

I don't see how, as long as the file opened and closed with no errors.

rfixxxer wrote:
If yes how do i close it with GUI?

Again, the opening and closing of a file is independent of whether it has a GUI or not. The key here is consistency. If you opened the file as a stream, it must be closed as a stream. If you opened the file as a handle, it must be closed as a handle. No mixing!

rfixxxer wrote:
Do i need to call OnInitDialog...

Only as a child class calling its base class implementation. Otherwise, this function is called by the framework in response to a WM_INITDIALOG message.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: Question Pin
rfixxxer11-Aug-04 9:00
rfixxxer11-Aug-04 9:00 
Generaloutputing images from C++ to Excel Pin
John W.11-Aug-04 1:22
John W.11-Aug-04 1:22 
GeneralRe: outputing images from C++ to Excel Pin
Jaime Stuardo11-Aug-04 4:32
Jaime Stuardo11-Aug-04 4:32 
GeneralRe: outputing images from C++ to Excel Pin
John W.12-Aug-04 1:53
John W.12-Aug-04 1:53 
Generaltesting random numbers Pin
chepah11-Aug-04 0:39
chepah11-Aug-04 0:39 
GeneralRe: testing random numbers Pin
thowra11-Aug-04 0:48
thowra11-Aug-04 0:48 
GeneralTalking to CListCtrl that resides in a different process window Pin
Muhammad Ahmed11-Aug-04 0:36
Muhammad Ahmed11-Aug-04 0:36 
GeneralRe: Talking to CListCtrl that resides in a different process window Pin
Antti Keskinen11-Aug-04 2:30
Antti Keskinen11-Aug-04 2:30 
GeneralCreating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 0:18
PrashantJ11-Aug-04 0:18 
GeneralRe: Creating a combobox & checkbox dynamically Pin
dipeka11-Aug-04 1:30
dipeka11-Aug-04 1:30 
GeneralRe: Creating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 1:47
PrashantJ11-Aug-04 1:47 
GeneralRe: Creating a combobox & checkbox dynamically Pin
dipeka11-Aug-04 2:11
dipeka11-Aug-04 2:11 
GeneralRe: Creating a combobox & checkbox dynamically Pin
Antti Keskinen11-Aug-04 2:50
Antti Keskinen11-Aug-04 2:50 
GeneralRe: Creating a combobox & checkbox dynamically Pin
David Crow11-Aug-04 5:13
David Crow11-Aug-04 5:13 
GeneralRe: Creating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 18:44
PrashantJ11-Aug-04 18:44 
GeneralPipe in release mode Pin
A T I F11-Aug-04 0:03
A T I F11-Aug-04 0:03 
QuestionHow to build bitmaps from the scratch? Pin
User-37793610-Aug-04 23:57
User-37793610-Aug-04 23:57 

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.