Click here to Skip to main content
15,922,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Running CScript.exe via CreateProcess Pin
Gary Wheeler3-Nov-03 7:10
Gary Wheeler3-Nov-03 7:10 
GeneralRe: Running CScript.exe via CreateProcess Pin
Michael Dunn3-Nov-03 5:39
sitebuilderMichael Dunn3-Nov-03 5:39 
GeneralRe: Running CScript.exe via CreateProcess Pin
Gary Wheeler3-Nov-03 7:07
Gary Wheeler3-Nov-03 7:07 
GeneralWinsock : Ip of broadcaster Pin
Ortie3-Nov-03 1:25
Ortie3-Nov-03 1:25 
GeneralRe: Winsock : Ip of broadcaster Pin
Ortie3-Nov-03 1:37
Ortie3-Nov-03 1:37 
Generaldebug error Pin
ranjjj3-Nov-03 0:25
ranjjj3-Nov-03 0:25 
GeneralRe: debug error Pin
Michael P Butler3-Nov-03 0:56
Michael P Butler3-Nov-03 0:56 
GeneralRe: debug error Pin
ranjjj3-Nov-03 4:02
ranjjj3-Nov-03 4:02 
GeneralRe: debug error Pin
David Crow3-Nov-03 4:36
David Crow3-Nov-03 4:36 
GeneralRe: debug error Pin
ranjjj3-Nov-03 17:06
ranjjj3-Nov-03 17:06 
GeneralRe: debug error Pin
David Crow4-Nov-03 2:31
David Crow4-Nov-03 2:31 
Generalmail server Pin
Ali7913-Nov-03 0:17
Ali7913-Nov-03 0:17 
GeneralRe: mail server Pin
melwyn3-Nov-03 1:44
melwyn3-Nov-03 1:44 
GeneralRe: mail server Pin
David Crow3-Nov-03 4:38
David Crow3-Nov-03 4:38 
GeneralCreate Service Pin
Boby.George2-Nov-03 23:17
professionalBoby.George2-Nov-03 23:17 
GeneralRe: Create Service Pin
Xiangyang Liu 刘向阳3-Nov-03 0:04
Xiangyang Liu 刘向阳3-Nov-03 0:04 
GeneralNot create a Service when logged as a local user Pin
Boby.George3-Nov-03 19:05
professionalBoby.George3-Nov-03 19:05 
GeneralRe: FTP OpenFile BUG? Pin
BlackRider2-Nov-03 22:24
BlackRider2-Nov-03 22:24 
QuestionHow to run application at win2k startup? Pin
golden06062-Nov-03 21:28
golden06062-Nov-03 21:28 
AnswerRe: How to run application at win2k startup? Pin
Michael P Butler2-Nov-03 21:53
Michael P Butler2-Nov-03 21:53 
AnswerRe: How to run application at win2k startup? Pin
Xiangyang Liu 刘向阳3-Nov-03 0:10
Xiangyang Liu 刘向阳3-Nov-03 0:10 
Generalfind window Pin
`Alt+F4`2-Nov-03 20:53
`Alt+F4`2-Nov-03 20:53 
GeneralRe: find window Pin
Mumiozol2-Nov-03 22:23
Mumiozol2-Nov-03 22:23 
GeneralRe: find window Pin
Antti Keskinen2-Nov-03 22:28
Antti Keskinen2-Nov-03 22:28 
You can search for a window handle or a CWnd object by using the FindWindow-function.

When the call returns, you have either a pointer to CWnd representing this window (MFC version) or the window's HWND (API version). Then you can use this HWND e.g. to change window title by using SetWindowText-function, or if you use the MFC-version, you can use the CWnd to mess around with the window just as if you would have created it yourself. Change status bar, toolbar, menu, layout, minimize, maximize etc etc

What exactly is it that you want to do with the current time and date ? Should the target window display this on it's status bar ? Or draw it somewhere else inside it ? Want to hijack a window's Device Context ? Explain. The 'Send the current time and date to the bottom' isn't very informative Big Grin | :-D

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: find window Pin
`Alt+F4`3-Nov-03 9:34
`Alt+F4`3-Nov-03 9:34 

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.