|
Prev: Source control problem
Next: TabControl
From: Jean-Luc Stassen on 2 Jul 2008 09:02 Hello, I have a strange problem. A simple dialog window with several control. At runtime all the controls and the window size are downsized.. !! The dialog inherit from nothing, no postinit, no preinit... In debug, once the first control is created in the Init() method, the size is wrong. I have deleted the ressource definition and resave de dialalog, but still the same ! For example, in the resource I have: CONTROL "", W_WINBOOKS_SEND_DTDERFACT, "Edit", ES_AUTOHSCROLL| WS_TABSTOP|WS_CHILD|WS_BORDER, 91, 9, 50, 13, WS_EX_CLIENTEDGE In fact this control have the following position and size: width: 100 height: 20 left:185 top: 39 Any idea ? TIA Jean-Luc
From: Jean-Luc Stassen on 2 Jul 2008 11:46 Very strange. I have destroyed all, recreated the dialog ans the problem is still there ! (Im' on VISTA, VO28) JL
From: Jean-Luc Stassen on 2 Jul 2008 11:59 Ok. Happy Vista. I have restarted my computer and now control are correctly saved !! I guess it's a kind of sreen size problem... Jean-Luc
|
Pages: 1 Prev: Source control problem Next: TabControl |