Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListCtrl not showing all loaded items? Pin
trey27-Jul-00 8:08
trey27-Jul-00 8:08 
GeneralRe: CListCtrl not showing all loaded items? Pin
Paolo Messina28-Jul-00 10:24
professionalPaolo Messina28-Jul-00 10:24 
GeneralRe: CListCtrl not showing all loaded items? Pin
trey29-Jul-00 11:57
trey29-Jul-00 11:57 
GeneralRe: CListCtrl not showing all loaded items? Pin
Paolo Messina29-Jul-00 12:20
professionalPaolo Messina29-Jul-00 12:20 
GeneralRe: CListCtrl not showing all loaded items? Pin
trey31-Jul-00 17:52
trey31-Jul-00 17:52 
GeneralEdit Control in Explorer Bands Pin
Sivakumar27-Jul-00 7:09
Sivakumar27-Jul-00 7:09 
GeneralEdit Control in Explorer Bands Pin
Sivakumar27-Jul-00 7:08
Sivakumar27-Jul-00 7:08 
GeneralRe: Edit Control in Explorer Bands Pin
Sandu Turcan1-Aug-00 10:37
Sandu Turcan1-Aug-00 10:37 
GeneralGOD HELP ME! Database programming with VC++6 Pin
Steve Lai27-Jul-00 6:34
Steve Lai27-Jul-00 6:34 
GeneralRe: GOD HELP ME! Database programming with VC++6 Pin
Tim Deveaux28-Jul-00 4:51
Tim Deveaux28-Jul-00 4:51 
GeneralRe: How about using SQL directly Pin
Masaaki Onishi28-Jul-00 5:11
Masaaki Onishi28-Jul-00 5:11 
GeneralTHANK YOU TIM & MASAAKI FOR THE RESPONSE! Pin
Steve Lai30-Jul-00 12:16
Steve Lai30-Jul-00 12:16 
GeneralWInword Text Box Pin
Ng Jin Sin27-Jul-00 0:58
Ng Jin Sin27-Jul-00 0:58 
GeneralRe: WInword Text Box Pin
Member 120896527-Jul-00 6:03
Member 120896527-Jul-00 6:03 
GeneralEmbedding metafiles in RTF in Wordpad Pin
ed welch26-Jul-00 23:49
ed welch26-Jul-00 23:49 
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 

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.