Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Automatically open last opened document in SDI Pin
Ramu Pulipati17-Jun-02 8:30
Ramu Pulipati17-Jun-02 8:30 
GeneralRe: Automatically open last opened document in SDI Pin
rrrado17-Jun-02 23:04
rrrado17-Jun-02 23:04 
GeneralRe: Automatically open last opened document in SDI Pin
Renjith Ramachandran17-Jun-02 10:53
Renjith Ramachandran17-Jun-02 10:53 
GeneralTree Control problem Pin
17-Jun-02 6:14
suss17-Jun-02 6:14 
GeneralFinding all open application names Pin
RobJones17-Jun-02 5:07
RobJones17-Jun-02 5:07 
GeneralRe: Finding all open application names Pin
Renjith Ramachandran17-Jun-02 5:17
Renjith Ramachandran17-Jun-02 5:17 
GeneralRe: Finding all open application names Pin
RobJones17-Jun-02 5:26
RobJones17-Jun-02 5:26 
GeneralRe: Finding all open application names Pin
Ramu Pulipati17-Jun-02 5:40
Ramu Pulipati17-Jun-02 5:40 
I assume you doesnt mean enumerating process..???

To list all desktop windows, use the following code.

HWND hWndNext = NULL;
TCHAR szCaption[MAX_CAPTION_SIZE];

while((hWndNext = FindWindowEx(NULL, hWndNext, NULL, NULL)) != NULL)
{
memset(szCaption, 0, sizeof(szCaption));
GetWindowText(hWndNext, (LPTSTR) szCaption, (sizeof(szCaption) / sizeof(TCHAR)));

//use szCaption here...
}

Check MSDN for detailed FindWindowEx API.

Hth,
Ramu
GeneralRe: Finding all open application names Pin
RobJones17-Jun-02 5:52
RobJones17-Jun-02 5:52 
GeneralRe: Finding all open application names Pin
Renjith Ramachandran17-Jun-02 5:45
Renjith Ramachandran17-Jun-02 5:45 
GeneralRe: Finding all open application names Pin
Atlantys17-Jun-02 8:26
Atlantys17-Jun-02 8:26 
GeneralHINTERNET HttpOpenRequest Pin
17-Jun-02 4:00
suss17-Jun-02 4:00 
GeneralRe: HINTERNET HttpOpenRequest Pin
benjymous17-Jun-02 4:25
benjymous17-Jun-02 4:25 
GeneralRe: HINTERNET HttpOpenRequest Pin
Roger Wright17-Jun-02 4:39
professionalRoger Wright17-Jun-02 4:39 
GeneralSet Interent Options Pin
17-Jun-02 3:16
suss17-Jun-02 3:16 
GeneralRe: Set Interent Options Pin
redeemer17-Jun-02 4:14
redeemer17-Jun-02 4:14 
GeneralRecreating a combobox style dropdown list Pin
Rob Whapham17-Jun-02 3:03
Rob Whapham17-Jun-02 3:03 
GeneralByte swap with negative numbers. Pin
JMajors9817-Jun-02 3:00
JMajors9817-Jun-02 3:00 
GeneralRe: Byte swap with negative numbers. Pin
redeemer17-Jun-02 4:18
redeemer17-Jun-02 4:18 
GeneralCListCtrl and colored string item Pin
pbmtp17-Jun-02 2:18
pbmtp17-Jun-02 2:18 
GeneralRe: CListCtrl and colored string item Pin
James R. Twine17-Jun-02 11:36
James R. Twine17-Jun-02 11:36 
QuestionHow to view resultset in data grid Pin
sailesh17-Jun-02 1:54
sailesh17-Jun-02 1:54 
AnswerRe: How to view resultset in data grid Pin
Renjith Ramachandran17-Jun-02 5:12
Renjith Ramachandran17-Jun-02 5:12 
GeneralDisplay Resultset in a Grid control without connecting directly to the database Pin
17-Jun-02 1:49
suss17-Jun-02 1:49 
GeneralProjects in VC++ Pin
17-Jun-02 1:20
suss17-Jun-02 1:20 

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.