| |
|
|
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 |
|
|
| XProfan X2Zu 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] |
|
|
| |
|
|
|
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.
|
|
|
| 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. |
|
|
| |
|
|
|
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
|
|
|
| |
|
|
|
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, |
|
|
| |
|
|
|
Jörg Sellmeyer | |
|
| 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 |
|
|
| XProfan X2Zu 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 ▲ |
|
|
|