English
Forum

Resize of Controlls

 

Manfred
Barei
Hi,

have the following trouble, I have in my Prog one Treeview and a TabControll with three Tab's.
In all Tab's there one RICHEDIT (in the Test Prog only erstenTab), now should at enhance the Fensters any Controlls with vergrößert go.
the enhance have I hinbekommen, however go The Richedit's (here in the Test only one) of course vergrößert but not in the right Size displayed.

See Testcode in the attachment.

I wisely not any more moreover, has someone an example for me?

for the Help already time thanks in the advance.

Greeting
Manfred

4 kB
Hochgeladen:12/29/12
Downloadcounter150
Download
 
XProfan X2
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
12/29/12  
 



I wealth that the trouble arise because the control the TabControl instead of
the hWnd as Parent has. I faith its ohnehin always "besser", Controls,
The optisch on one tab lying, but always on the Window/ dialog To
produce.

[OFFTOPIC]
In Your Beispielcode missing a function:


XProfan 11.2.1.8a.63 Praekompiler [XPSE]
copyright (C) 1998-2010 XProfan.com, built DE.

File: c:\documents and Settings\admin\desktop\Test.prf (
92)

warning: undeklariert : INITHOME
Naehe: ~87, 'INITHOME'

[/OFFTOPIC]
 
12/29/12  
 




Jörg
Sellmeyer
probier time, The Controls on so a dialog To settle and this dialog together with the Control in whom sizes properly To Change.
Control("DIALOG","",$54000000,4,130,486,566,%hwnd,0,%hinstance)
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/29/12  
 



@Jörg: The problem would already fixed if it the RichEdit on the hWnd
instead of on the TabControl created.
 
12/29/12  
 




Jörg
Sellmeyer
so one Dialogcontrol is nevertheless useful, there so several items on one TabControl lying can and leichter cache/ visible made go can.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/29/12  
 



Ah, i see now what you mean.

this Control ought to one then but too a Mauspfeil allocate there the otherwise
with mouseover not überschrieben becomes:



remedy z.B. simply so:
 {$cleq}
cls
long dlg=Control("DIALOG","",$54000000,4,130,486,566,hwnd,0,hinstance)
setClassLong(dlg,GCL_HCURSOR,loadCursor(,IDC_ARROW))
waitInput
end


6 kB
Hochgeladen:12/29/12
Downloadcounter107
Download
6 kB
Hochgeladen:12/29/12
Downloadcounter137
Download
 
12/29/12  
 




Jörg
Sellmeyer
If I the time in Profan übesetze and ausführe, becomes the Waitinput ignoring and the program exits.
 $H windows.ph
Cls
var   dlg& = Control("DIALOG","",$54000000,4,130,486,566,%hwnd,0,%hinstance)
~setClassLong(dlg&,~GCL_HCURSOR,~loadCursor(,~IDC_ARROW))
Waitkey
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/29/12  
 



isn't entire Translated,

loadCursor(,
loadCursor(0,
 
12/29/12  
 




Jörg
Sellmeyer
ah
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/29/12  
 




Manfred
Barei
Hi,

thanks for Denkanstöße, habs hinbekommen.

See attachment.

Greeting

5 kB
Hochgeladen:12/29/12
Downloadcounter143
Download
 
XProfan X2
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
12/29/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.335 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie