Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Speed up compilation by ramdisk? Pin
David Crow31-Oct-05 3:30
David Crow31-Oct-05 3:30 
QuestionUsing Activex Controls Pin
hamidreza_buddy30-Oct-05 0:43
hamidreza_buddy30-Oct-05 0:43 
QuestionmciSendString Pin
Sasuko29-Oct-05 23:30
Sasuko29-Oct-05 23:30 
QuestionNeed help with ODBC databases interfacing with C++. Pin
silot29-Oct-05 23:24
silot29-Oct-05 23:24 
AnswerRe: Need help with ODBC databases interfacing with C++. Pin
Rustamyan30-Oct-05 17:10
Rustamyan30-Oct-05 17:10 
AnswerRe: Need help with ODBC databases interfacing with C++. Pin
David Crow31-Oct-05 3:34
David Crow31-Oct-05 3:34 
QuestionHelp me(Name of Window???) Pin
Member 185845029-Oct-05 21:18
Member 185845029-Oct-05 21:18 
AnswerRe: Help me(Name of Window???) Pin
Dominik Reichl30-Oct-05 2:47
Dominik Reichl30-Oct-05 2:47 
You use this:

int nLen = ::GetWindowTextLength(hWnd);
TCHAR *tszWindowName = new TCHAR[nLen + 1];
::GetWindowText(hWnd, tszWindowName, nLen + 1);

Now tszWindowName contains the name of the window. Don't forget to delete []tszWindowName; it when you no longer need it.

For enumerating all process names, have a look at this article:
http://www.codeproject.com/threads/processes.asp[^]

Best regards
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)


-- modified at 8:47 Sunday 30th October, 2005
QuestionI need ur help Pin
arifusman29-Oct-05 19:18
arifusman29-Oct-05 19:18 
AnswerRe: I need ur help Pin
Arman S.30-Oct-05 10:03
Arman S.30-Oct-05 10:03 
QuestionHow to show a Icon and a string on the same pane of the status bar? Pin
Tcpip200529-Oct-05 19:54
Tcpip200529-Oct-05 19:54 
AnswerRe: How to show a Icon and a string on the same pane of the status bar? Pin
Dmitriy Yakovlev31-Oct-05 7:48
Dmitriy Yakovlev31-Oct-05 7:48 
Questionsyntax error '<' Pin
gr8coaster32929-Oct-05 19:39
gr8coaster32929-Oct-05 19:39 
AnswerRe: syntax error '<' Pin
Ghasrfakhri29-Oct-05 19:22
Ghasrfakhri29-Oct-05 19:22 
QuestionRe: syntax error '<' Pin
gr8coaster32930-Oct-05 4:49
gr8coaster32930-Oct-05 4:49 
QuestionRe: syntax error '<' Pin
David Crow31-Oct-05 3:37
David Crow31-Oct-05 3:37 
QuestionRe: syntax error '<' Pin
gr8coaster32931-Oct-05 9:26
gr8coaster32931-Oct-05 9:26 
AnswerRe: syntax error '<' Pin
David Crow31-Oct-05 9:49
David Crow31-Oct-05 9:49 
QuestionPrinting an image Pin
DanYELL29-Oct-05 17:07
DanYELL29-Oct-05 17:07 
AnswerRe: Printing an image Pin
Christian Graus30-Oct-05 11:41
protectorChristian Graus30-Oct-05 11:41 
GeneralRe: Printing an image Pin
DanYELL30-Oct-05 16:50
DanYELL30-Oct-05 16:50 
GeneralRe: Printing an image Pin
Christian Graus30-Oct-05 16:53
protectorChristian Graus30-Oct-05 16:53 
QuestionSPDRP_FRIENDLYNAME Pin
LiYS29-Oct-05 16:41
LiYS29-Oct-05 16:41 
QuestionCListCtrl Error Pin
Allad29-Oct-05 15:05
Allad29-Oct-05 15:05 
Questionnumber picker thingie Pin
alex@zoosmart.us29-Oct-05 12:11
alex@zoosmart.us29-Oct-05 12:11 

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.