English
Source / code snippets

Childs Dialog-Window Mainwindow several benefit

 

Frank
Abbing

CompileMarkSeparation
 $H messages.ph
 $H windows.ph
Declare win1&,win2&,x&,y&,text$,title$,class$,edit1&,text1&,multi1&,edit2&,text2&,multi2&
Windowstyle 31
Windowtitle Hauptfenster
Cls ~GetSysColor(15)
SetDialogFont ~GetStockObject(~DEFAULT_GUI_FONT)
class$=#32770
title$=Dialogfenster
win1&=~CreateWindowEx(0,addr(class$),addr(title$),$40400000,40,40,300,360,%hwnd,0,%hinstance,1000)
text1&=Create(Text,win1&,Hier könnte ein Text stehen. Welcher Text, das bleibt dir überlassen.,10,10,280,30)
edit1&=Create(EDIT,win1&,Ein Editfeld,10,50,120,20)
multi1&=Create(MULTIEDIT,win1&,Ein Multiedit,10,80,260,250)
***
win2&=~CreateWindowEx($200,addr(class$),addr(title$),$40000000,380,40,220,360,%hwnd,0,%hinstance,1000)
text2&=Create(Text,win2&,Hier könnte ein Text stehen. Welcher Text, das bleibt dir überlassen.,10,40,180,30)
edit2&=Create(EDIT,win2&,Ein Editfeld,10,10,120,20)
multi2&=Create(MULTIEDIT,win2&,Ein Multiedit,10,80,160,250)
class$=msctls_trackbar32
title$=Dialogfenster
multi2&=~CreateWindowEx(0,addr(class$),addr(title$),$50000000,10,80,160,250,win2&,0,%hinstance,1000)
Sleep 1000
ShowWindow(win1&,1)
Sleep 1000
ShowWindow(win2&,1)
Sleep 1000
ShowWindow(win1&,0)
Sleep 1000
ShowWindow(win2&,0)
Sleep 1000

EndIf

ShowWindow(win1&,1)
ShowWindow(win2&,1)

While 1

WaitInput
Case %Key=2:BREAK

EndWhile

 
12/31/04  
 




GDL
hi Frank,

where wars I message.ph and windows.ph since?
or goes your example only XP? thanks.

with friendly greet
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/14/05  
 



there haddu.

salvo, iF

 
02/14/05  
 




GDL
thanks

Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/14/05  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.851 Views

Untitledvor 0 min.
GDL09/08/14
Ernst05/11/13
liveFamilie06/23/12
Julian Schmidt08/21/11
More...

Themeninformationen

this Topic has 3 subscriber:

GDL (2x)
iF (1x)
Frank Abbing (1x)


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