Click here to Skip to main content
15,898,769 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem customizing tree control Pin
enhzflep14-Apr-08 5:02
enhzflep14-Apr-08 5:02 
GeneralRe: Problem customizing tree control Pin
Jim Crafton14-Apr-08 5:08
Jim Crafton14-Apr-08 5:08 
GeneralRe: Problem customizing tree control Pin
Jim Crafton14-Apr-08 5:11
Jim Crafton14-Apr-08 5:11 
GeneralRe: Problem customizing tree control [modified] Pin
enhzflep14-Apr-08 5:49
enhzflep14-Apr-08 5:49 
GeneralFind All Window Pin
john563214-Apr-08 3:52
john563214-Apr-08 3:52 
GeneralRe: Find All Window Pin
JudyL_MD14-Apr-08 4:10
JudyL_MD14-Apr-08 4:10 
GeneralRe: Find All Window Pin
john563214-Apr-08 4:14
john563214-Apr-08 4:14 
GeneralRe: Find All Window Pin
JudyL_MD14-Apr-08 4:28
JudyL_MD14-Apr-08 4:28 
pther wrote:
The below code is returning null in WINDOWPLACEMENT variable.


Well, of course it is since you initialize WndPlacement to NULL. You're not using the function correctly. You need to supply the buffer to receive the requesetd information. Try this.

WINDOWPLACEMENT WndPlacement;
if(szWindowTitle=="My Window")
{
//AfxMessageBox(text);
GetWindowPlacement(hwnd,&WndPlacement);
szWindowTitle.Format("%d",WndPlacement.showCmd);
AfxMessageBox(szWindowTitle);
}


Judy
QuestionRe: Find All Window Pin
David Crow14-Apr-08 4:13
David Crow14-Apr-08 4:13 
QuestionFont/FontSize Pin
C++NewBe14-Apr-08 2:34
C++NewBe14-Apr-08 2:34 
GeneralRe: Font/FontSize Pin
Cedric Moonen14-Apr-08 2:38
Cedric Moonen14-Apr-08 2:38 
GeneralRe: Font/FontSize Pin
CPallini14-Apr-08 3:27
mveCPallini14-Apr-08 3:27 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 3:44
David Crow14-Apr-08 3:44 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 3:52
C++NewBe14-Apr-08 3:52 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 3:56
David Crow14-Apr-08 3:56 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 4:04
C++NewBe14-Apr-08 4:04 
QuestionRe: Font/FontSize Pin
David Crow14-Apr-08 4:15
David Crow14-Apr-08 4:15 
GeneralRe: Font/FontSize Pin
C++NewBe14-Apr-08 4:21
C++NewBe14-Apr-08 4:21 
GeneralRe: Font/FontSize Pin
David Crow14-Apr-08 4:26
David Crow14-Apr-08 4:26 
GeneralQuery regarding ListBox Pin
Rahul Vaishnav14-Apr-08 2:29
Rahul Vaishnav14-Apr-08 2:29 
AnswerRe: Query regarding ListBox Pin
Rajesh R Subramanian14-Apr-08 2:36
professionalRajesh R Subramanian14-Apr-08 2:36 
GeneralRe: Query regarding ListBox Pin
Rajkumar R14-Apr-08 2:42
Rajkumar R14-Apr-08 2:42 
GeneralRe: Query regarding ListBox Pin
Rajesh R Subramanian14-Apr-08 2:46
professionalRajesh R Subramanian14-Apr-08 2:46 
GeneralRe: Query regarding ListBox Pin
Hamid_RT15-Apr-08 2:24
Hamid_RT15-Apr-08 2:24 
GeneralC++ new dynamic allocation of memory problem Pin
Member 336349814-Apr-08 2:28
Member 336349814-Apr-08 2:28 

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.