Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGenerate/edit files Pin
Dody_DK30-Aug-04 9:25
Dody_DK30-Aug-04 9:25 
GeneralRe: Generate/edit files Pin
Christian Graus30-Aug-04 12:10
protectorChristian Graus30-Aug-04 12:10 
GeneralRe: Generate/edit files Pin
Dody_DK31-Aug-04 1:05
Dody_DK31-Aug-04 1:05 
GeneralRe: Generate/edit files Pin
David Crow31-Aug-04 4:02
David Crow31-Aug-04 4:02 
GeneralRe: Generate/edit files Pin
Christian Graus31-Aug-04 10:27
protectorChristian Graus31-Aug-04 10:27 
GeneralRunning .exe Pin
Naveed Shoaib30-Aug-04 8:57
Naveed Shoaib30-Aug-04 8:57 
GeneralRe: Running .exe Pin
Alexander M.,30-Aug-04 9:19
Alexander M.,30-Aug-04 9:19 
GeneralRe: Running .exe Pin
Archer28230-Aug-04 16:24
Archer28230-Aug-04 16:24 
if you are using regular win32 api, i assume you already have a message handler for the parent window no?

if so, then you need to add a WM_COMMAND case
and test if the HIWORD() of the lParam is == BN_CLICKED and if (HWND) lParam == YourButtons_hWnd

if so then run the app

now if you are using MFC then do this
goto the dialog designer, double click on your button

and insert the code to run your app
GeneralRe: Running .exe Pin
User 21559730-Aug-04 19:55
User 21559730-Aug-04 19:55 
GeneralApplication Pin
BlackKnight7930-Aug-04 8:02
BlackKnight7930-Aug-04 8:02 
GeneralRe: Application Pin
Steve Maier30-Aug-04 10:23
professionalSteve Maier30-Aug-04 10:23 
GeneralRe: Application Pin
BlackKnight7931-Aug-04 5:42
BlackKnight7931-Aug-04 5:42 
GeneralRe: Application Pin
Steve Maier31-Aug-04 5:56
professionalSteve Maier31-Aug-04 5:56 
GeneralRe: Application Pin
BlackKnight7931-Aug-04 6:05
BlackKnight7931-Aug-04 6:05 
Generalcommon controls on windows ce Pin
prateekkathuria30-Aug-04 7:38
prateekkathuria30-Aug-04 7:38 
GeneralRe: common controls on windows ce Pin
vcplusplus30-Aug-04 7:47
vcplusplus30-Aug-04 7:47 
GeneralControl Windows Media Player programmatically Pin
Dang Minh Thang30-Aug-04 7:33
Dang Minh Thang30-Aug-04 7:33 
GeneralRe: Control Windows Media Player programmatically Pin
vcplusplus30-Aug-04 7:49
vcplusplus30-Aug-04 7:49 
GeneralRe: Control Windows Media Player programmatically Pin
Dang Minh Thang30-Aug-04 7:58
Dang Minh Thang30-Aug-04 7:58 
GeneralEDIT control won't work under a child window Pin
scott987uk30-Aug-04 6:03
scott987uk30-Aug-04 6:03 
GeneralRe: EDIT control won't work under a child window Pin
act_x30-Aug-04 6:18
act_x30-Aug-04 6:18 
GeneralRe: EDIT control won't work under a child window Pin
act_x30-Aug-04 6:21
act_x30-Aug-04 6:21 
Generalneed to learn .NET Pin
act_x30-Aug-04 5:51
act_x30-Aug-04 5:51 
GeneralRe: need to learn .NET Pin
Steve Maier30-Aug-04 10:44
professionalSteve Maier30-Aug-04 10:44 
GeneralA Web programming question Pin
Anonymous30-Aug-04 5:01
Anonymous30-Aug-04 5:01 

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.