Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MultiByteToWideChar Pin
Mike Dimmick19-Oct-03 2:21
Mike Dimmick19-Oct-03 2:21 
GeneralRe: MultiByteToWideChar Pin
YaronNir19-Oct-03 2:37
YaronNir19-Oct-03 2:37 
GeneralFunction Parameters Pin
Fad B18-Oct-03 20:46
Fad B18-Oct-03 20:46 
GeneralRe: Function Parameters Pin
skaanji19-Oct-03 1:51
skaanji19-Oct-03 1:51 
GeneralRe: Function Parameters Pin
Mike Dimmick19-Oct-03 2:16
Mike Dimmick19-Oct-03 2:16 
GeneralRe: Function Parameters Pin
Alexander M.,19-Oct-03 4:01
Alexander M.,19-Oct-03 4:01 
Generalnoob alert part 2 !! ShellExec function. Pin
no_life18-Oct-03 19:23
no_life18-Oct-03 19:23 
GeneralRe: noob alert part 2 !! ShellExec function. Pin
Andrew Walker19-Oct-03 1:13
Andrew Walker19-Oct-03 1:13 
In the resource editor, add a button to the dialog
Double click on the button. This adds a method to the dialog class
Add code for the handler.

From MSDN:
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);


hwnd - 0 - don't worry about the parent window, set to NULL
lpOperation - "open" - open something
lpFile - "your.file" - the file or URL you want to open
lpParameters - "" - unless you need to pass in cmd line params
lpDirectory - "" - unless you care what directory the launched app starts in
nShowCmd - SW_SHOWNORMAL - this will be okay most of the time

ShellExecute(0,"open","http://www.codeproject.com","","",SW_SHOWNORMAL);


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: noob alert part 2 !! ShellExec function. Pin
no_life19-Oct-03 10:56
no_life19-Oct-03 10:56 
GeneralFFT analysis Pin
Alexander M.,18-Oct-03 12:51
Alexander M.,18-Oct-03 12:51 
GeneralRe: FFT analysis Pin
Anonymous19-Oct-03 13:36
Anonymous19-Oct-03 13:36 
GeneralReally amazingly simple question Pin
MrEyes18-Oct-03 11:17
MrEyes18-Oct-03 11:17 
GeneralRe: Really amazingly simple question Pin
Rafael Fernández López18-Oct-03 12:33
Rafael Fernández López18-Oct-03 12:33 
GeneralRe: Really amazingly simple question Pin
Michael Dunn18-Oct-03 12:44
sitebuilderMichael Dunn18-Oct-03 12:44 
GeneralRe: Really amazingly simple question Pin
MrEyes18-Oct-03 14:09
MrEyes18-Oct-03 14:09 
GeneralRe: Really amazingly simple question Pin
Taka Muraoka18-Oct-03 14:45
Taka Muraoka18-Oct-03 14:45 
GeneralMultiple developers working on same .rc file Pin
Ravi Bhavnani18-Oct-03 9:01
professionalRavi Bhavnani18-Oct-03 9:01 
GeneralRe: Multiple developers working on same .rc file Pin
Mike Dimmick19-Oct-03 2:26
Mike Dimmick19-Oct-03 2:26 
GeneralRe: Multiple developers working on same .rc file Pin
Ravi Bhavnani19-Oct-03 4:39
professionalRavi Bhavnani19-Oct-03 4:39 
General"File Modified Outside Source Editor" Warning Message Pin
Carl Owenby18-Oct-03 8:43
sussCarl Owenby18-Oct-03 8:43 
GeneralCSocket Pin
lpRomang18-Oct-03 7:04
lpRomang18-Oct-03 7:04 
GeneralRe: CSocket Pin
Alexander M.,18-Oct-03 12:42
Alexander M.,18-Oct-03 12:42 
GeneralRe: CSocket Pin
Rafael Fernández López19-Oct-03 0:06
Rafael Fernández López19-Oct-03 0:06 
Generaltoolbar (again) Pin
Max Santos18-Oct-03 6:37
Max Santos18-Oct-03 6:37 
GeneralRe: toolbar (again) Pin
includeh1018-Oct-03 6:44
includeh1018-Oct-03 6:44 

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.