From: <no...@so...> - 2002-08-05 15:30:50
|
Bugs item #422740, was opened at 2001-05-09 14:48 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=422740&group_id=2435 Category: w32api Group: None >Status: Closed Resolution: Out of Date Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Earnie Boyd (earnie) Summary: Dialogs are positioned in screen coords Initial Comment: Hi! I'm new to this brave gnu world...i was developing under VisualC++ until now. There's the following problem with the win32 package (could be windres, too...): If I create a modeless dialog from my .rc- file with hDlg = CreateDialog(hInst, MAKEINTRESOURCE (CES_DIALOG), hWnd, diaProc); , it should be positioned relative to its parent window hWnd. If I say SetWindowPos(hDlg, NULL, 0, 0, 0, 0, SWP_NOZORDER | SWPNORESIZE), the dialog is placed to the top left edge of the screen instead in the top left edge of my window...(works under VisualC++). And about windres (perhaps off-topic, but I don't know yet where to post it): Menues are not shown if {} is used instead of BEGIN END. Furthermore, "Commands" like MENU and DIALOG are not case-sensitive under VC++, but are under windres. However, the positioning problem is the most important one...any workarounds/fixes? Thanks, Nicolas Weber ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=422740&group_id=2435 |