<r>...and if I change the parameters to<br/>
<br/>
METHOD _recalcSize()<br/>
LOCAL rc IS _WINRECT<br/>
LOCAL dwExStyle := DWORD(_CAST, GetWindowLong(SELF:Handle(), GWL_EXSTYLE)) AS DWORD<br/>
SetRect(@rc, 0, 0, <B><s>[b]</s>SELF:canvasarea:size:width, SELF:canvasarea:size:height<e>[/b]</e></B ...
Search found 51 matches
- Tue Jul 18, 2023 1:54 pm
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
- Tue Jul 18, 2023 1:44 pm
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
<r>That's very interesting. Actually I only used the Size assign to alter the dialog size. If I put your example code in a method like this
<QUOTE><s>[quote]</s>METHOD _recalcSize()<br/>
LOCAL rc IS _WINRECT<br/>
LOCAL dwExStyle := DWORD(_CAST, GetWindowLong(SELF:Handle(), GWL_EXSTYLE)) AS DWORD ...
<QUOTE><s>[quote]</s>METHOD _recalcSize()<br/>
LOCAL rc IS _WINRECT<br/>
LOCAL dwExStyle := DWORD(_CAST, GetWindowLong(SELF:Handle(), GWL_EXSTYLE)) AS DWORD ...
- Tue Jul 18, 2023 12:57 pm
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
Thanks Leonid. I have copied your full content into cctl6.man (which is referred in Manifest.rc), but the behaviour is still the same.
- Tue Jul 18, 2023 11:53 am
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
- Tue Jul 18, 2023 11:51 am
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
- Tue Jul 18, 2023 10:30 am
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
<r>Robert,<br/>
<br/>
I've tried this. Here is my project:<br/>
<ATTACHMENT filename="Untitled.png" index="1"><s>[attachment=1]</s>Untitled.png<e>[/attachment]</e></ATTACHMENT>
The cctl6.man is copied from the new VO MDI App. The Manifest.rc has the same contents as Standard.Shell.Manifest:<br ...
<br/>
I've tried this. Here is my project:<br/>
<ATTACHMENT filename="Untitled.png" index="1"><s>[attachment=1]</s>Untitled.png<e>[/attachment]</e></ATTACHMENT>
The cctl6.man is copied from the new VO MDI App. The Manifest.rc has the same contents as Standard.Shell.Manifest:<br ...
- Tue Jul 18, 2023 8:52 am
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
<t>Addition: in VO I have<br/>
<br/>
RESOURCE CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST %executabledir%adkomm.man<br/>
<br/>
in one of the framework libraries. In X# I added a new resource "manifest.rc" and put this in it:<br/>
<br/>
CREATEPROCESS_MANIFEST_RESOURCE_ID RC_RT_MANIFEST "B:adkomm ...
<br/>
RESOURCE CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST %executabledir%adkomm.man<br/>
<br/>
in one of the framework libraries. In X# I added a new resource "manifest.rc" and put this in it:<br/>
<br/>
CREATEPROCESS_MANIFEST_RESOURCE_ID RC_RT_MANIFEST "B:adkomm ...
- Tue Jul 18, 2023 8:32 am
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
<t>Thank you. How exactly would I do that (I can i.e. add a "native resource template (rct)", or an xml file where I could put the contents of my resource XML from VO into)?<br/>
<br/>
Is it possible to do it once (in an assembly) fr all projects which use it instead of adding it seperately to each ...
<br/>
Is it possible to do it once (in an assembly) fr all projects which use it instead of adding it seperately to each ...
- Mon Jul 17, 2023 1:55 pm
- Forum: Product
- Topic: Dialog size behaviour: VO dialog appears narrower (only width!) in X#
- Replies: 32
- Views: 7713
Dialog size behaviour: VO dialog appears narrower (only width!) in X#
<r>I have a strange issue regarding the display of dialogs: On the same machine a dialog with the same size (proven by a debugview output immediately before the Show) of 118x146 pixel looks different in VO and X#:<br/>
<br/>
<B><s>[b]</s>Visual Objects (correct):<e>[/b]</e></B><br/>
<br ...
<br/>
<B><s>[b]</s>Visual Objects (correct):<e>[/b]</e></B><br/>
<br ...
- Mon Jul 17, 2023 10:07 am
- Forum: Product
- Topic: How to display a modal dialogwindow from XPorted VO Code?
- Replies: 4
- Views: 1452
How to display a modal dialogwindow from XPorted VO Code?
<r>Robert,<br/>
<br/>
an example would be too complex - but the problem is solved. I didn't have an app object, thus no message loop (this worked fine for Xported server apps without any GUI). After inserting
<QUOTE><s>[quote]</s><COLOR color="#3498db"><s>[color=#3498db]</s>IF getAppObject ...
<br/>
an example would be too complex - but the problem is solved. I didn't have an app object, thus no message loop (this worked fine for Xported server apps without any GUI). After inserting
<QUOTE><s>[quote]</s><COLOR color="#3498db"><s>[color=#3498db]</s>IF getAppObject ...

