English
Source / code snippets

report items

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Menüpunkte ausrichten (1)
DEF GetMenu(1) !USER32,GetMenu
DEF GetMenuItemID(2) !USER32,GetMenuItemID
DEF GetMenuItemCount(1) !USER32,GetMenuItemCount
DEF ModifyMenu(5) !USER32,ModifyMenuA
DEF DrawMenuBar(1) !USER32,DrawMenuBar
declare hMenu&,count&,Text$,menupunkt&
declare MF_BYPOSITION&,MF_RIGHTJUSTIFY&,MF_LEFTJUSTIFY&,MENU_Text$
let MF_BYPOSITION& = $0400
let MF_RIGHTJUSTIFY&= $4000
let MF_LEFTJUSTIFY& = $0
---Test:
Cls
PopUp Da&tei
AppendMenu 100,...
PopUp B&earbeiten
AppendMenu 200,...
PopUp &Hilfe
AppendMenu 300,...
print Bitte e drücken
Text$=B&earbeiten

while 1

    waitinput

    if @KeyIn(Ee)

        let hMenu& = GetMenu(%hwnd)
        let count& = GetMenuItemCount(hMenu&)
        ModifyMenu(hMenu&,2,MF_RIGHTJUSTIFY& | MF_BYPOSITION&,2,@ADDR(TEXT$)) String direkt funktioniert
        DrawMenuBar(%hwnd)
        cls
        print Bitte b drücken

    elseif @KeyIn(Bb)

        menupunkt&=2
        let hMenu& = GetMenu(%hwnd)
        let count& = GetMenuItemCount(hMenu&)
        ModifyMenu(hMenu&, menupunkt&,MF_LEFTJUSTIFY& | MF_BYPOSITION&,2,@ADDR(Text$)) String über Variable funktioniert nicht
        DrawMenuBar(%hwnd)
        cls
        print Bitte e drücken

    endif

wend

../references-fonction/XProfan/end/'>end
 
07/16/07  
 



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

2.487 Views

Untitledvor 0 min.
E.T.06/25/23
holmol9304/24/13
Frank Vorholzer04/12/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (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