English
Forum

1. and 2 Window

 
- Page 1 -



Detlef
Tussing
Hello all Profaner`n

Have again a question, with the zusammenkopieren of different Programs mach I now 2 Window on. I had but gladly The ListBox in the Window 1, and no weiters Window.
CompileMarkSeparation
1. Fenster
DEF GETSYSCOLOR(1) !USER32,GetSysColor
WINDOWSTYLE 31 47
WINDOWTITLE Test
WINDOW SUB(DIV(%MAXX,2),DIV(740,2)),SUB(DIV(%MAXY,2),DIV(500,2))-660,500
SETTRUECOLOR 1
CLS GETSYSCOLOR(1)15
SETDIALOGFONT 1
2.Fenster im 1. Fenster
dlg% = create(Dialog,%Hwnd,Test2,340,200,250,100)
CBox& = @Control(ComboBox,,$5421034E,10,10,200,200,Dlg%,2000,%hinstance)
End%=@createbutton(Dlg%,Auswahl,80,40,80,32)
Addfiles *.DAT
MoveListToChoice(CBox&

and I too wonder be, desert I gladly what the $5421034E in the 2. Window
means.
I have the complete Program on a others computer copies,
there are The Window at a andern place as by me, depends with the the attitude the Grafikkarte together?
 
Gruß Detlef Tussing
Windows XP, XProfan 10
05/09/07  
 



 
- Page 2 -



Frank
Abbing

For which CLS ? - the Window is with WINDOW x,y-x2,y1 prepares


Horst, CLS prepares not only one Window, separate deletes in first line whom screen (with of/ one vordefinierten colour). CLS is a short cut for CLear Screen. existing yet no Window, then prepares it even one. just as How z.B. PRINT.
 
05/09/07  
 



@Frank
naturally have You right in the relationship CLS RGB(r%,g%,b%) -
I take but rather UseBrush and Rectangle, because I here then with Programmeinstellungen z. B. The surface eleganter Change can (my unmassgebliche opinion ) Additional can I with Rectangle single Zonen on the surface different dye. - (I hope, You promise yet with me )
 
05/09/07  
 




Frank
Abbing
yet flexibler is LoadBmp or SetPixel, there can you each Bildpunkt gesondert dye...
Ne, is clear. I knows Yes what you mean.
 
05/09/07  
 




Detlef
Tussing
and what mach I with ENTER instead of OK
 
Gruß Detlef Tussing
Windows XP, XProfan 10
05/09/07  
 




Frank
Abbing
Probier time %key 13 or 10.
 
05/09/07  
 




Detlef
Tussing
you are any obliging, still where sol I %key13 prompt ?
 
Gruß Detlef Tussing
Windows XP, XProfan 10
05/09/07  
 




Frank
Abbing

CompileMarkSeparation
WHILENOT ENDE%

    if %(key=255) or (key%=13)

        BREAK
        elseif.
 
05/09/07  
 



@Sorry Frank


if %(key=255) or (key%=13)


happens me too sometimes - but so would it correctly.:
CompileMarkSeparation
if (%key=255) or (%key=13)re>

not cut -
 
05/10/07  
 




Detlef
Tussing

Please for integrally stupid once more

my Prog reacted only on OK not ENTER
CompileMarkSeparation
declare exit&,e%,a$
declare edit&,vorgabe$
DEF GETSYSCOLOR(1) !USER32,GetSysColor
WINDOWSTYLE 31 47
WINDOWTITLE Apex Elektronik GmbH Grevenbroich Tel. 02181-24040
WINDOW SUB(DIV(%MAXX,2),DIV(740,2)),SUB(DIV(%MAXY,2),DIV(500,2))-400,150
SETTRUECOLOR 1
CLS GETSYSCOLOR(1)15
SETDIALOGFONT 1
exit& = CreateButton(%HWnd,Ok,150,50,100,35)
vorgabe$ =
edit& = CONTROL(Edit,vorgabe$,$54810020,150,20,100,25,%HWnd,0,%HInstance,$0200)
SetFocus(edit&)

whilenot e%

    if (%key=255) or (%key=13) or getfocus(exit&)

        e% = 1

    endif

wend

A$ = gettext$(edit&)

if a$=qwert

    print a$
    waitinput

else

    end

endif

 
Gruß Detlef Tussing
Windows XP, XProfan 10
05/10/07  
 



@Hello Detlef
there DU XPROFAN10 have, Have I your Text something abgeändert and Explanations moreover written. hope, You come through...
CompileMarkSeparation
 
05/10/07  
 




Detlef
Tussing
thanks, The Statement the command is vastly rather as with XProfan Help still with ENTER komm I do not moreover
 
Gruß Detlef Tussing
Windows XP, XProfan 10
05/10/07  
 



Detlef
The ENTER-Button is neither active ! - in the code, whom I you changed have can You now over the Systemmenu supra right with the [X]-Button, with the OK-Button or with the both Keys ALT + O terminate. The ENTER-Button is to that terminate one Program not normally.
If you your WindowsStyle so angibst : 31 + 512, have You The reaction one Dialoigfensters on the Mainwindow. then can You with the TAB-Button from the EDIT on the Button switch and then functions too The ENTER-Button. but, How said, ENTER for the End of program isn't normally
 
05/10/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.487 Views

Untitledvor 0 min.
H.Brill02/15/15
Andre Rohland12/15/12
LuZiF3R03/03/12
Stephie08/14/11

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