English
Forum

Done: opengl to normalem Main Window back

 
- Page 1 -



Ludger
Resing
Hello i'm yet on the try with opengl .now would like I from the opengl Window to a normalen Mainwindow back .
here my Expirimente
with the menuepunkt Settings would like I again into Mainwindow
(not one Dialog-Window)
CompileMarkSeparation
declare beweg%

Proc Menue

    appendmenubar 1,"©"
    appendmenubar 103,"&Start"
    appendmenubar 102,"&Stop"
    appendmenubar 202,"&Einstellungen"
    appendmenubar 303,"&Ende"
    POPUP "Help"
    APPENDMENU 401,"Hilfe"
    APPENDMENU 402,"Info"
    Separator
    APPENDMENU 403,"Über"

endproc

proc start

    windowstyle 31
    Window 1,1-1100,800
    menue
    beweg%=1

endproc

PROC zuEnde

    MessageBox "Wollen Sie wirklich beenden?",
    "Frage:",36

    if %Button = 6

        Let Ende%=1

    endif

ENDPROC

Proc Einstell

    oGL("Clear")
    windowstyle 31
    Window 1,1-1100,800
    CLS 0
    waitkey

endproc

declare time&, frames%
declare rtri!, rquad!

proc DrawGLScene

    oGL("Clear")
    oGL("Origin", -1.5, 0, -6)
    oGL("Color", 0, 0, 1, 1)
    oGL("Rotate", 0, rtri!, 0)
    oGL("Cuboid", 2, 2, 1)
    oGL("Origin", 1.5, 0, -6)
    oGL("Color", 1, 0, 0, 1)
    oGL("Rotate", rquad!, 0, 0)
    oGL("Cylinder", 1.1, 1.25, 3, 38)
    oGL("Show")
    case beweg% = 1 :rtri! = rtri! + 9
    case beweg% = 1 :rquad! = rquad! - 5

endproc

Hauptprogramm
-------------
start
declare ende%
time&   = &GetTickCount
CLS 0
oGL("Init", %hWnd, 0, 0, 0, 1)
oGL("PosMode", 1)
DrawGLScene()
setTimer 20  max 50 Frames /sek.

WhileNot ende%

    WaitInput

    if isKey(27)

        ende% = 1

    endif

    DrawGLScene()
    inc frames%

    if &GetTickCount - time& >= 1000   1 Sekunde ist rum

        setText %hWnd, str$(frames%) + " Frames/sek"
        time&   = &GetTickCount
        frames% = 0

    ElseIf @MenuItem(102)

        beweg% = 0

    ElseIf @MenuItem(103)

        beweg% = 1

    ElseIf @MenuItem(303)

        zuEnde

    ElseIf @MenuItem(202)

        einstell

    endif

EndWhile

killTimer
end
 
07/22/09  
 



 
- Page 1 -


your fancy be I do not grown.
 
07/23/09  
 




E.T.
Jörg Sellmeyer, Beitrag=53436, Zeitpunkt=23.07.2009
A.u.s.s.E.T.Z.E.R
Allgemeines Unvermögen systematische Sachverhalte discernible terminierend To erfassen


KLASSE !!!
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
07/23/09  
 



 
- Page 2 -



Ludger
Resing
excuse for my Unvermögen ! is that here not one Forum for Beginner-Questions?
Greeting
Ludger Resing
 
07/23/09  
 



Ludger, Aussetzer having "alle" "hin and wieder" and particularly The, The something auszusetzen having or aussitzen - feel you not more than veräppelt, that is pure Blödelei - mach with, or, set simply a round from for aimed Aussetzer. ^^

To "Ist that here not one Forum for Beginner-Questions?":

there Forum _für Beginner-Questions is, means this not same, that itself too The Fragesteller therein well aufgehoben vorkommen should - means as long as The ask it "gemütlich" find, is Forum treffend benannt.

but one small (this time ernstgemeinter) hint nevertheless: typewriter and computer, in both Make never to Satzzeichen one Freizeichen but always behind it:

"Hallo! I greetings you, or even not!"
 
07/23/09  
 




Dieter
Zornow
where is the word for R or ought to the R here ergrasp include his, would but against The rule
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/23/09  
 



the engage me now but too.
 
07/23/09  
 




E.T.
Gabs there not time one :rofl ???
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
07/23/09  
 




Jörg
Sellmeyer
Dieter Zornow, Beitrag=53441, Zeitpunkt=23.07.2009
where is the word for R or ought to the R here ergrasp include his, would but against The rule


which rule very mean You now?

in the doubt time here nachlesen:  [...] 
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/23/09  
 




Dieter
Zornow
@Jorg
You want me still not earnestly on The Wiki verweisen

A---------------- u------------------s--------------------s-------------------E------------T------------------Z---E------------R
Allgemeines Unvermögen systematische Sachverhalte discernible terminierend To erfassen ????
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/23/09  
 



If one itself in "solch of/ one Situation" "befindet", then speaks one too of "Allgemeines Unvermögen systematische Sachverhalte discernible terminierend To erfassen Rap." - sure, HipHop-Zeugs, but we've it ultimately neither made up.
 
07/23/09  
 




Jörg
Sellmeyer
Wikipedia
Bußmann unterteilt Akronyme in different Types: a) Akronyme, The ausbuchstabiert with Endbetonung expressed go How WM, b) Akronyme, its letters silbischen worth suppose with Anfangsbetonung How NATO, c) Akronyme, its Initialen itself to a phonetischen word join How with Aids and d) Mischformen from Initial- and Silbenbildung How Azubi or Bafög.


still! wants I!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/23/09  
 



might bet this is one Rap.
 
07/23/09  
 




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.221 Views

Untitledvor 0 min.
Ludger Resing09/09/13
Donnie03/19/13
funkheld03/31/12

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