Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c++ question. Please help Pin
Alex_Y9-May-05 4:08
Alex_Y9-May-05 4:08 
GeneralRe: c++ question. Please help Pin
David Crow9-May-05 5:01
David Crow9-May-05 5:01 
GeneralRe: c++ question. Please help Pin
Alex_Y9-May-05 6:58
Alex_Y9-May-05 6:58 
GeneralRe: c++ question. Please help Pin
Bob Stanneveld10-May-05 0:25
Bob Stanneveld10-May-05 0:25 
GeneralDirectShow - Buffer Pushing Techniques Pin
javatheist9-May-05 2:21
javatheist9-May-05 2:21 
GeneralGetting active control in a property page Pin
laiju9-May-05 1:41
laiju9-May-05 1:41 
GeneralRe: Getting active control in a property page Pin
David Crow9-May-05 2:07
David Crow9-May-05 2:07 
GeneralRe: Getting active control in a property page Pin
laiju9-May-05 2:26
laiju9-May-05 2:26 
I used the WM_SETFOCUS message with its following handler .But the function is not getting the call at all..
I have included the ON_WM_SETFOCUS() in the message map.
CPropertyPage::OnSetFocus(pOldWnd);
CWnd *pWnd = this->GetActiveWindow();
CEdit *pEdit = (CEdit*)pWnd->GetActiveWindow();
int iCtlID = pEdit->GetDlgCtrlID();//RETURNS controlID of currently

active editbox

switch(iCtlID)
{
case IDC_EDIT_OSD_ITEM_POSX:
break;
case IDC_EDIT_OSD_ITEM_POSY:
break;
case IDC_EDIT_OSD_ITEM_WIDTH:
break;
case IDC_EDIT_OSD_ITEM_HEIGHT:
break;
default:
break;
}


laiju
GeneralRe: Getting active control in a property page Pin
Alex_Y9-May-05 4:00
Alex_Y9-May-05 4:00 
GeneralRe: Getting active control in a property page Pin
laiju9-May-05 16:52
laiju9-May-05 16:52 
GeneralRe: Getting active control in a property page Pin
Alex_Y10-May-05 5:45
Alex_Y10-May-05 5:45 
QuestionHow to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 0:27
Eugene Pustovoyt9-May-05 0:27 
AnswerRe: How to create a vertical CEdit Pin
toxcct9-May-05 0:57
toxcct9-May-05 0:57 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 4:37
Eugene Pustovoyt9-May-05 4:37 
AnswerRe: How to create a vertical CEdit Pin
Ravi Bhavnani9-May-05 6:28
professionalRavi Bhavnani9-May-05 6:28 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt9-May-05 20:28
Eugene Pustovoyt9-May-05 20:28 
GeneralRe: How to create a vertical CEdit Pin
Ravi Bhavnani10-May-05 1:57
professionalRavi Bhavnani10-May-05 1:57 
GeneralRe: How to create a vertical CEdit Pin
Eugene Pustovoyt10-May-05 9:10
Eugene Pustovoyt10-May-05 9:10 
GeneralSending Ctrl Alt Del Pin
Richard Hudson8-May-05 23:45
Richard Hudson8-May-05 23:45 
GeneralRe: Sending Ctrl Alt Del Pin
ThatsAlok8-May-05 23:59
ThatsAlok8-May-05 23:59 
GeneralRe: Sending Ctrl Alt Del Pin
jmkhael9-May-05 0:02
jmkhael9-May-05 0:02 
GeneralRe: Sending Ctrl Alt Del Pin
Richard Hudson9-May-05 0:09
Richard Hudson9-May-05 0:09 
GeneralRe: Sending Ctrl Alt Del Pin
Kelly Herald9-May-05 17:41
Kelly Herald9-May-05 17:41 
GeneralRe: Sending Ctrl Alt Del Pin
Richard Hudson9-May-05 22:02
Richard Hudson9-May-05 22:02 
Questionhow to add text on menu bar? Pin
IlanTal8-May-05 23:45
IlanTal8-May-05 23:45 

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.