Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Embedding metafiles in RTF in Wordpad Pin
ed welch8-Aug-00 5:44
ed welch8-Aug-00 5:44 
GeneralStopping a dialog from closing when ESC is pressed Pin
xtsea26-Jul-00 20:35
xtsea26-Jul-00 20:35 
GeneralRe: Stopping a dialog from closing when ESC is pressed Pin
starzykp26-Jul-00 22:39
starzykp26-Jul-00 22:39 
GeneralRe: Stopping a dialog from closing when ESC is pressed Pin
Blake Miller27-Jul-00 5:27
Blake Miller27-Jul-00 5:27 
GeneralAccessing UPDATE_COMMAND_UI in dialog based application Pin
trey26-Jul-00 16:13
trey26-Jul-00 16:13 
GeneralRe: Accessing UPDATE_COMMAND_UI in dialog based application Pin
trey30-Jul-00 16:12
trey30-Jul-00 16:12 
GeneralWang Image Edit Controls Pin
mcormier@teldig.com26-Jul-00 10:12
mcormier@teldig.com26-Jul-00 10:12 
GeneralMDI Child window that owns a Property Sheet Pin
Joan Murt26-Jul-00 9:50
sussJoan Murt26-Jul-00 9:50 
Hello, I have got a MDI interface with Child windows that own Property sheets:

CChildFrmA::CChildFrmA()
{
m_PS = new CPropSheetA("",this,0,5); // overloaded to set the # of pages dinamically
}

BOOL CChildFrmA::PreCreateWindow(CREATESTRUCT& cs)
{
cs.cx = 514;
cs.cy = 436;

cs.style = WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU | WS_MINIMIZEBOX | WS_OVERLAPPED;
cs.dwExStyle |= WS_EX_CONTROLPARENT;

m_PS->SetWizardMode();
m_PS->Create(this,WS_CHILD | WS_VISIBLE);
m_PS->SetActivePage(0);

return CMDIChildWnd::PreCreateWindow(cs);
}

Now I get the wanted result but ther is still a problem: in this application the mouse can't be used, and I can't set the focus to the firs control of the first property page without it, I've tried to use Setfocus when the Child Window is being activated, and when it gets the focus, but there's no result, then I've tried to use a thread to do it, and yes, the focus it's placed to the control, but it gets as it was disabled (it don't works).

Please, if someone know how to solve this or how to give me some indications of where I can find information about it, it would be fantastic.

Thank you in advance

PD: I'm very novice, if you see something that's extremely wrong I would like to know it, thanks and as always excuse my english...
GeneralGet text from tree control Pin
Ravi Shankar26-Jul-00 7:39
Ravi Shankar26-Jul-00 7:39 
GeneralRe: Get text from tree control Pin
Mike Dunn26-Jul-00 8:21
Mike Dunn26-Jul-00 8:21 
GeneralRe: Get text from tree control Pin
Ravi Shankar26-Jul-00 8:24
Ravi Shankar26-Jul-00 8:24 
GeneralRe: Get text from tree control Pin
Mike Dunn26-Jul-00 8:48
Mike Dunn26-Jul-00 8:48 
GeneralRe: Get text from tree control Pin
Ravi Shankar26-Jul-00 8:51
Ravi Shankar26-Jul-00 8:51 
GeneralReading from a particular location of the disk Pin
john knox26-Jul-00 1:51
john knox26-Jul-00 1:51 
GeneralRe: Reading from a particular location of the disk Pin
Tim Deveaux28-Jul-00 5:40
Tim Deveaux28-Jul-00 5:40 
GeneralHandle of a control in a web page Pin
john knox26-Jul-00 1:37
john knox26-Jul-00 1:37 
GeneralRe: Handle of a control in a web page Pin
Ravi Shankar26-Jul-00 8:27
Ravi Shankar26-Jul-00 8:27 
GeneralApplication Distribution and Installation issues Pin
Gert Boddaert26-Jul-00 0:21
Gert Boddaert26-Jul-00 0:21 
QuestionMessage for scrolling listctrl? Pin
Mathias25-Jul-00 21:38
Mathias25-Jul-00 21:38 
AnswerRe: Message for scrolling listctrl? Pin
Benedict Verheyen25-Jul-00 23:06
sussBenedict Verheyen25-Jul-00 23:06 
GeneralRe: Message for scrolling listctrl? Pin
Mathias26-Jul-00 21:48
Mathias26-Jul-00 21:48 
GeneralRe: Message for scrolling listctrl? Pin
Benedict Verheyen27-Jul-00 2:57
sussBenedict Verheyen27-Jul-00 2:57 
GeneralRegarding Installation program Pin
krithi25-Jul-00 19:23
krithi25-Jul-00 19:23 
GeneralRe: Regarding Installation program Pin
Benedict Verheyen25-Jul-00 22:58
sussBenedict Verheyen25-Jul-00 22:58 
GeneralRe: Regarding Installation program Pin
xtsea26-Jul-00 3:27
xtsea26-Jul-00 3:27 

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.