Click here to Skip to main content
15,919,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Kernel32.dll Pin
hph18-Nov-03 23:52
hph18-Nov-03 23:52 
GeneralRe: Kernel32.dll Pin
peterchen19-Nov-03 6:45
peterchen19-Nov-03 6:45 
GeneralRe: Kernel32.dll Pin
Antti Keskinen19-Nov-03 10:07
Antti Keskinen19-Nov-03 10:07 
GeneralRe: Kernel32.dll Pin
parths18-Nov-03 23:58
parths18-Nov-03 23:58 
GeneralRe: Kernel32.dll Pin
Rama Krishna Vavilala19-Nov-03 11:29
Rama Krishna Vavilala19-Nov-03 11:29 
GeneralProblem with deriving a class from CFileDIalog Pin
Rob Manderson18-Nov-03 23:07
protectorRob Manderson18-Nov-03 23:07 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Neville Franks18-Nov-03 23:48
Neville Franks18-Nov-03 23:48 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 18:06
protectorRob Manderson19-Nov-03 18:06 
Thanks Neville. I didn't know that OnFileNameOK() isn't called if the edit control is empty - add that one to the background pile Smile | :)

I'm overriding OnNotify() just so's I can see the notification codes pass by. I've fixed the couple of things Igor pointed out - the second one was setting the m_ofn.nMaxFile member to 4 instead of the buffer size. Once I did that I've started seeing OnFileNameOK() being called if I select a file and hit ok. The dialog still isn't working the way I'd like but I imagine some spelunking in MFC internals (always good for the soul Smile | :) ) will reveal why.

Rob Manderson

http://www.mindprobes.net

"I killed him dead cuz he was stepping on my turf, cutting me out of my bling the same way my ho cuts cookies, officer"

"Alright then, move along"
- Ian Darling, The Lounge, Oct 10 2003
GeneralRe: Problem with deriving a class from CFileDIalog Pin
igor196019-Nov-03 10:21
igor196019-Nov-03 10:21 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 10:25
protectorRob Manderson19-Nov-03 10:25 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
igor196019-Nov-03 10:34
igor196019-Nov-03 10:34 
GeneralRe: Problem with deriving a class from CFileDIalog Pin
Rob Manderson19-Nov-03 18:18
protectorRob Manderson19-Nov-03 18:18 
GeneralNeed information about port in CSocket Pin
Aswin18-Nov-03 23:03
Aswin18-Nov-03 23:03 
GeneralRe: Need information about port in CSocket Pin
Mike Dimmick18-Nov-03 23:50
Mike Dimmick18-Nov-03 23:50 
GeneralContents of Grid Pin
naveensg18-Nov-03 23:00
naveensg18-Nov-03 23:00 
Generalcontrol names Pin
naveensg18-Nov-03 22:56
naveensg18-Nov-03 22:56 
GeneralRe: control names Pin
Michael P Butler18-Nov-03 23:07
Michael P Butler18-Nov-03 23:07 
GeneralRe: control names Pin
naveensg18-Nov-03 23:13
naveensg18-Nov-03 23:13 
GeneralRe: control names Pin
David Crow19-Nov-03 3:29
David Crow19-Nov-03 3:29 
GeneralRe: control names Pin
naveensg19-Nov-03 3:40
naveensg19-Nov-03 3:40 
GeneralRe: control names Pin
David Crow19-Nov-03 4:57
David Crow19-Nov-03 4:57 
GeneralRe: control names Pin
naveensg19-Nov-03 17:14
naveensg19-Nov-03 17:14 
GeneralRe: control names Pin
igor196019-Nov-03 10:53
igor196019-Nov-03 10:53 
GeneralRe: control names Pin
naveensg19-Nov-03 17:16
naveensg19-Nov-03 17:16 
GeneralRe: control names Pin
igor196019-Nov-03 17:40
igor196019-Nov-03 17:40 

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.