Click here to Skip to main content
16,005,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to open new windows at the top of z-order, when process is not current process ? Pin
Defenestration10-Jun-04 11:20
Defenestration10-Jun-04 11:20 
GeneralInteger & floating point divide by zero... Pin
herbert_chow8-Jun-04 12:12
herbert_chow8-Jun-04 12:12 
GeneralRe: Integer & floating point divide by zero... Pin
John R. Shaw8-Jun-04 15:52
John R. Shaw8-Jun-04 15:52 
GeneralRe: Integer & floating point divide by zero... Pin
Anonymous8-Jun-04 18:06
Anonymous8-Jun-04 18:06 
GeneralRe: Integer & floating point divide by zero... Pin
John R. Shaw8-Jun-04 19:04
John R. Shaw8-Jun-04 19:04 
GeneralRe: Integer & floating point divide by zero... Pin
Ryan Binns8-Jun-04 18:26
Ryan Binns8-Jun-04 18:26 
GeneralRe: Integer & floating point divide by zero... Pin
herbert_chow8-Jun-04 20:34
herbert_chow8-Jun-04 20:34 
GeneralChild window resizing.. Pin
Bob Stanneveld8-Jun-04 12:10
Bob Stanneveld8-Jun-04 12:10 
Hello,

I'm working on a dialog based application. I need some sort of Panel (like in Delphi) in the main window.
I figured that a panel is nothing more than a modeless child window without any borders.

I derived a class from CDialog and I put some controls on it (edit boxes and such). It all works fine, the window hides and appears when I want it to, the controls work fine (button's get pushed, data moves from and to edit controls), BUT when I try to move the child window, it stays put.
I move the child window like this:

<br />
if(((CMyDialog*) m_pdlg)->SetWindowPos(this, 200, 50, 0, 0, SWP_NOSIZE | SWP_SHOWWINDOW))<br />
		AfxMessageBox("test");<br />


The messagebox appears, so the window should be moved, but it doesn't... Confused | :confused:

I'm all out of clues and fried by my monitor and manuals...

Does anybody know a solution?

Thanks in advance.



A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.


GeneralRe: Child window resizing.. Pin
valikac8-Jun-04 12:57
valikac8-Jun-04 12:57 
GeneralRe: Child window resizing.. Pin
Bob Stanneveld9-Jun-04 5:01
Bob Stanneveld9-Jun-04 5:01 
GeneralRe: Child window resizing.. Pin
Vadim Tabakman8-Jun-04 13:57
Vadim Tabakman8-Jun-04 13:57 
GeneralRe: Child window resizing.. Pin
Bob Stanneveld9-Jun-04 5:03
Bob Stanneveld9-Jun-04 5:03 
GeneralSolution! Pin
Bob Stanneveld9-Jun-04 5:01
Bob Stanneveld9-Jun-04 5:01 
QuestionWhy do VC++6 Service Packs cause code size to vary ? Pin
Defenestration8-Jun-04 11:49
Defenestration8-Jun-04 11:49 
AnswerRe: Why do VC++6 Service Packs cause code size to vary ? Pin
John R. Shaw8-Jun-04 16:09
John R. Shaw8-Jun-04 16:09 
GeneralRe: Why do VC++6 Service Packs cause code size to vary ? Pin
Defenestration8-Jun-04 16:53
Defenestration8-Jun-04 16:53 
GeneralRe: Why do VC++6 Service Packs cause code size to vary ? Pin
John R. Shaw8-Jun-04 19:24
John R. Shaw8-Jun-04 19:24 
General3D File viewer Pin
suiram408-Jun-04 10:47
suiram408-Jun-04 10:47 
GeneralRe: 3D File viewer Pin
Vadim Tabakman8-Jun-04 13:31
Vadim Tabakman8-Jun-04 13:31 
GeneralRe: 3D File viewer Pin
Iain Clarke, Warrior Programmer9-Jun-04 5:25
Iain Clarke, Warrior Programmer9-Jun-04 5:25 
GeneralRe: 3D File viewer Pin
Rick York9-Jun-04 11:09
mveRick York9-Jun-04 11:09 
Generalcl.exe Pin
Ni@m8-Jun-04 10:27
Ni@m8-Jun-04 10:27 
GeneralRe: cl.exe Pin
David Crow8-Jun-04 10:35
David Crow8-Jun-04 10:35 
GeneralRe: cl.exe Pin
Ni@m8-Jun-04 10:50
Ni@m8-Jun-04 10:50 
QuestionWindows SetWorldTransform() + Text + Printing bug? Pin
CodeHead8-Jun-04 7:34
CodeHead8-Jun-04 7:34 

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.