Click here to Skip to main content
16,004,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to set font (ATL) Pin
Alex Gorev30-Jun-00 11:40
Alex Gorev30-Jun-00 11:40 
GeneralNew Project Wizard Pin
David Leikis30-Jun-00 10:22
David Leikis30-Jun-00 10:22 
GeneralA simple template question Pin
juskett30-Jun-00 4:53
juskett30-Jun-00 4:53 
GeneralRe: A simple template question Pin
Mike Dunn1-Jul-00 19:02
Mike Dunn1-Jul-00 19:02 
GeneralRe: A simple template question Pin
Mike Dunn3-Jul-00 8:25
Mike Dunn3-Jul-00 8:25 
GeneralA simple template question Pin
juskett30-Jun-00 4:51
juskett30-Jun-00 4:51 
GeneralRich Ink Control (VCCE 6.0) Pin
Anthony Pantekoek30-Jun-00 3:44
Anthony Pantekoek30-Jun-00 3:44 
GeneralMoving a CComboBox Pin
Stephanie Rigel30-Jun-00 3:32
sussStephanie Rigel30-Jun-00 3:32 
I am trying to move a combo box to a new location when a specific event happens. The code I currently have is:
CComboBox* state;
// box is initialized, blah blah blah
// then, later I have
state->MoveWindow(x, y, WIDTH_INC, HEIGHT_INC, TRUE);

This causes the following error:
The instruction "0x5f436c36" referenced memory at "0xcdcdcded". The memory could not be "read".

Using the debugger to step through the program, I've discovered in the MoveWindow function, it asserts at
ASSERT(::IsWindow(m_hWnd))

Any ideas what's happening?

Thanks,

Stephanie
GeneralRe: Moving a CComboBox Pin
Uwe Keim30-Jun-00 5:59
sitebuilderUwe Keim30-Jun-00 5:59 
GeneralRe: Moving a CComboBox Pin
Stephanie Rigel30-Jun-00 6:32
sussStephanie Rigel30-Jun-00 6:32 
GeneralRe: Moving a CComboBox Pin
Blake Miller30-Jun-00 6:45
Blake Miller30-Jun-00 6:45 
GeneralRe: Moving a CComboBox Pin
Stephanie Rigel30-Jun-00 7:11
sussStephanie Rigel30-Jun-00 7:11 
GeneralRe: Moving a CComboBox Pin
Sam Hobbs30-Jun-00 10:35
Sam Hobbs30-Jun-00 10:35 
GeneralRe: Moving a CComboBox Pin
Paolo Messina30-Jun-00 13:26
professionalPaolo Messina30-Jun-00 13:26 
GeneralRe: Moving a CComboBox Pin
Mike Dunn1-Jul-00 19:08
Mike Dunn1-Jul-00 19:08 
GeneralRe: Moving a CComboBox Pin
Sam Hobbs4-Jul-00 21:54
Sam Hobbs4-Jul-00 21:54 
GeneralRe: Moving a CComboBox Pin
Stephanie Rigel5-Jul-00 5:22
sussStephanie Rigel5-Jul-00 5:22 
GeneralHandling ActiveX Sink Events for dynamically created ActiveX Control Pin
Member 426430-Jun-00 0:11
Member 426430-Jun-00 0:11 
Generalmsoutl9.cpp and outlook2000 Pin
Tenacious29-Jun-00 21:14
Tenacious29-Jun-00 21:14 
GeneralSpell checking with Word Pin
Member 311229-Jun-00 21:13
Member 311229-Jun-00 21:13 
GeneralObject Array / collections Pin
Member 238629-Jun-00 19:35
Member 238629-Jun-00 19:35 
GeneralRe: Object Array / collections Pin
Blake Miller30-Jun-00 6:40
Blake Miller30-Jun-00 6:40 
GeneralRe: Object Array / collections Pin
Sam Hobbs30-Jun-00 10:54
Sam Hobbs30-Jun-00 10:54 
GeneralRe: Object Array / collections Pin
Member 238630-Jun-00 17:29
Member 238630-Jun-00 17:29 
GeneralHelp with classes and threads Pin
woltman29-Jun-00 18:30
woltman29-Jun-00 18:30 

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.