Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dialog Boxes

0 views
Skip to first unread message

Lord Mage

unread,
Jan 3, 1998, 3:00:00 AM1/3/98
to

Ok, here's the problem. I'm trying to display a Dialog Box. I'm using a
window set to WS_OVERLAPPED, and I've tried dialogs set to child, pop-up,
and overlapped. They all do the same thing. I'm using the "DialogBox"
function immediately after the ShowWindow and UpdateWindow functions. The
fields show up, but the titlebar and the background don't. I can use the
fields and controlls, but due to the lack of titlebar, I can't resize or
move the dialog. Any suggestions would be greatly appreciated. Please
send your reply to jr...@xmission.com. I'm rarely in this group, so that
would reach me sooner.

Thanks,
James Rowe

Pete Barrett

unread,
Jan 3, 1998, 3:00:00 AM1/3/98
to

Check that your dialog procedure is really being called.

If it is, check that it returns FALSE by default. Also, check any fall-through
in a switch statement it uses to process messages. Also, don't process WM_PAINT
or WM_NCPAINT messages.

If it isn't being called properly, check that it's being exported correctly for
the platform you're writing for (different for 16 and 32 bit Windows), that no
name mangling is occurring, that you've spelt it correctly, etc.

Pete Barrett

0 new messages