Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMouse capture problem Pin
Mr.Freeze8-Oct-01 16:44
Mr.Freeze8-Oct-01 16:44 
GeneralRe: Mouse capture problem Pin
Chaos Lawful8-Oct-01 23:37
Chaos Lawful8-Oct-01 23:37 
GeneralRe: Mouse capture problem Pin
Mr.Freeze9-Oct-01 0:10
Mr.Freeze9-Oct-01 0:10 
GeneralMassive bloat with WTL's CFileDialog Pin
Michael Dunn8-Oct-01 16:21
sitebuilderMichael Dunn8-Oct-01 16:21 
GeneralMy rc file got too fat !!! Pin
8-Oct-01 15:54
suss8-Oct-01 15:54 
GeneralRe: My rc file got too fat !!! Pin
8-Oct-01 21:43
suss8-Oct-01 21:43 
GeneralRe: My rc file got too fat !!! Pin
8-Oct-01 22:48
suss8-Oct-01 22:48 
Generaldirectory and DFileDialog Pin
8-Oct-01 14:51
suss8-Oct-01 14:51 
hi, it's me again Wink | ;) (i think i should register...)
my prob is not a real prob, but here it is:

i'm using a CFileDialog to open/save files, and that works. the only thing is, i want to set the initial directory. i don't like it that i have always to select drive and directory when i'm working longer on a file for example. so i'm planning to use sort of an .ini file for my program. there i want so store the path of the last opened directory.
with CFileDialog, the initial directory is always the same. i tried it with SetCurrentDirectory, but it didn't work. anyway, is there a function that returns the path of the program i'm currently running? in borland c++ (the dos-based Big Grin | :-D ) it was the first array in argv (remember: int main(int argc, char *argv[]) Wink | ;) ).

well, it's not that important, but i want to create a user-friendly program. it simply s#x to select the same directory hundreds of times within 5 minutes, i'm sure you know what i mean Wink | ;)

greets,
McEck
GeneralRe: directory and DFileDialog Pin
Michael Dunn8-Oct-01 16:12
sitebuilderMichael Dunn8-Oct-01 16:12 
GeneralRe: directory and DFileDialog Pin
Fredrik Sigbjörn8-Oct-01 21:24
Fredrik Sigbjörn8-Oct-01 21:24 
GeneralProper implementation of ComboBox Pin
Xian8-Oct-01 14:45
Xian8-Oct-01 14:45 
GeneralRe: Proper implementation of ComboBox Pin
Brendan Tregear8-Oct-01 18:03
Brendan Tregear8-Oct-01 18:03 
Question.NET to replace MFC???? Pin
Stormwind8-Oct-01 14:37
Stormwind8-Oct-01 14:37 
AnswerRe: .NET to replace MFC???? Pin
Fazlul Kabir8-Oct-01 14:55
Fazlul Kabir8-Oct-01 14:55 
AnswerRe: .NET to replace MFC???? Pin
Christian Graus8-Oct-01 15:52
protectorChristian Graus8-Oct-01 15:52 
GeneralRe: .NET to replace MFC???? Pin
Fazlul Kabir8-Oct-01 17:01
Fazlul Kabir8-Oct-01 17:01 
GeneralRe: .NET to replace MFC???? Pin
Christian Graus8-Oct-01 17:24
protectorChristian Graus8-Oct-01 17:24 
GeneralRe: .NET to replace MFC???? Pin
Fazlul Kabir8-Oct-01 18:54
Fazlul Kabir8-Oct-01 18:54 
GeneralRe: .NET to replace MFC???? Pin
Christian Graus8-Oct-01 19:02
protectorChristian Graus8-Oct-01 19:02 
GeneralRe: .NET to replace MFC???? Pin
Tomasz Sowinski8-Oct-01 23:48
Tomasz Sowinski8-Oct-01 23:48 
GeneralRe: .NET to replace MFC???? Pin
Christian Graus9-Oct-01 0:05
protectorChristian Graus9-Oct-01 0:05 
GeneralRe: .NET to replace MFC???? Pin
Mike Burston9-Oct-01 0:33
Mike Burston9-Oct-01 0:33 
GeneralRe: .NET to replace MFC???? Pin
Christian Graus9-Oct-01 0:40
protectorChristian Graus9-Oct-01 0:40 
GeneralRe: .NET to replace MFC???? Pin
Tomasz Sowinski9-Oct-01 1:01
Tomasz Sowinski9-Oct-01 1:01 
GeneralRe: .NET to replace MFC???? Pin
Mike Burston9-Oct-01 1:31
Mike Burston9-Oct-01 1:31 

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.