Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in HotKey Pin
GauranG Shah21-Sep-07 19:55
GauranG Shah21-Sep-07 19:55 
GeneralRe: Problem in HotKey Pin
Iain Clarke, Warrior Programmer23-Sep-07 22:13
Iain Clarke, Warrior Programmer23-Sep-07 22:13 
QuestionCommunication between C++ DLL and VB6 window. Pin
BubbaGeeNH21-Sep-07 3:07
BubbaGeeNH21-Sep-07 3:07 
AnswerRe: Communication between C++ DLL and VB6 window. Pin
toxcct21-Sep-07 3:19
toxcct21-Sep-07 3:19 
AnswerRe: Communication between C++ DLL and VB6 window. Pin
BubbaGeeNH21-Sep-07 7:18
BubbaGeeNH21-Sep-07 7:18 
QuestionCWnd pointer Pin
josip cagalj21-Sep-07 1:53
josip cagalj21-Sep-07 1:53 
AnswerRe: CWnd pointer Pin
bob1697221-Sep-07 2:03
bob1697221-Sep-07 2:03 
GeneralRe: CWnd pointer Pin
josip cagalj21-Sep-07 2:13
josip cagalj21-Sep-07 2:13 
But I tried that already:
void CDialList::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized) <br />
{<br />
	   CDialog::OnActivate(nState, pWndOther, bMinimized);<br />
	   if(nState == WA_INACTIVE)<br />
	   {<br />
		   if(my_pOldWnd)<br />
			   my_pOldWnd->SetActiveWindow();<br />
		   OnCancel();<br />
	   }<br />
	   if(nState == WA_ACTIVE)<br />
		   my_pOldWnd = pWndOther;<br />
}

But on state when my app is activated (WA_ACTIVE) I get pointer to my app. and not to window being inactivated(previous active wnd)!?
GeneralRe: CWnd pointer Pin
bob1697221-Sep-07 2:16
bob1697221-Sep-07 2:16 
GeneralRe: CWnd pointer Pin
Mark Salsbery21-Sep-07 8:22
Mark Salsbery21-Sep-07 8:22 
GeneralRe: CWnd pointer Pin
josip cagalj23-Sep-07 22:55
josip cagalj23-Sep-07 22:55 
QuestionException Pin
shir_k21-Sep-07 1:43
shir_k21-Sep-07 1:43 
AnswerRe: Exception Pin
Roger Stoltz21-Sep-07 3:47
Roger Stoltz21-Sep-07 3:47 
GeneralRe: Exception Pin
shir_k23-Sep-07 20:04
shir_k23-Sep-07 20:04 
AnswerRe: Exception Pin
Roger Stoltz23-Sep-07 21:56
Roger Stoltz23-Sep-07 21:56 
GeneralRe: Exception Pin
shir_k24-Sep-07 0:35
shir_k24-Sep-07 0:35 
AnswerRe: Exception Pin
Iain Clarke, Warrior Programmer21-Sep-07 4:54
Iain Clarke, Warrior Programmer21-Sep-07 4:54 
GeneralRe: Exception Pin
Mark Salsbery21-Sep-07 8:24
Mark Salsbery21-Sep-07 8:24 
GeneralRe: Exception Pin
shir_k23-Sep-07 19:17
shir_k23-Sep-07 19:17 
Question[Message Deleted] Pin
padpras21-Sep-07 1:17
padpras21-Sep-07 1:17 
AnswerRe: problem with customizing scrollbar Pin
Waldermort21-Sep-07 4:39
Waldermort21-Sep-07 4:39 
AnswerRe: problem with customizing scrollbar Pin
Iain Clarke, Warrior Programmer21-Sep-07 4:56
Iain Clarke, Warrior Programmer21-Sep-07 4:56 
AnswerRe: problem with customizing scrollbar Pin
Iain Clarke, Warrior Programmer21-Sep-07 4:57
Iain Clarke, Warrior Programmer21-Sep-07 4:57 
AnswerPlease don't delete your question. Pin
Iain Clarke, Warrior Programmer23-Sep-07 22:10
Iain Clarke, Warrior Programmer23-Sep-07 22:10 
Questionproblem in thread calling Pin
AnayKulkarni21-Sep-07 0:23
AnayKulkarni21-Sep-07 0:23 

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.