Re: Deluxe Slide Show Attn. Al
- Posted by Al Getz <Xaxo at aol.com> Mar 24, 2006
- 525 views
don cole wrote: > > Hello Al, > > > }}} <eucode> > > --create a settings window: > constant SettingsWindow=EzWindow:Create( > WS_EX_CLIENTEDGE, --style Ex > OR({WS_OVERLAPPED,WS_SYSMENU}), --style > #F0C0A0, --background color > "SettingsWindow", --caption > 10, 10, --xpos, ypos > 300, 200, --width, height > MainAppWindow, --parent ID > 0) --events (none yet) > --- Close(SettingsWindow) > > > --create a slide show window:this really the directory window > global constant SSWindow = > EzWindow:Create(--a missnomer should be -- DIRECRORTY SELECT WINDOW > -- > WS_EX_CLIENTEDGE, --style Ex > OR({WS_OVERLAPPED,WS_SYSMENU}), --style > #E9E9E9, --background color > "DIRECTORY SELECT", --caption > 28, 32, --xpos, ypos > 520, 268, --width, height > 0, --parent ID > 0) > > --create a Help window: > global constant helpWindow= > EzWindow:Create( > WS_EX_CLIENTEDGE, --style Ex --styleFlag Ex > OR({WS_OVERLAPPED,WS_SYSMENU}), --style > #E9E9E9, --background color > "Keyboard Help", --caption > 28, 32, --xpos, ypos > 520, 300, --width, height > MainAppWindow, --parent ID > 0) > -- Close(helpWindow > </eucode> {{{ > This is what I got now. > I don't see blinking anymore. > I'm thinking deleting the SettingsWindow Because it's > not needed anymore. > > > WS_EX_CLIENTEDGE, --style Ex --styleFlag Ex > OR({WS_OVERLAPPED,WS_SYSMENU}), --style > > What does OR mean here ? > > Don Cole Hi Don, Oh i guess it's working then. 'OR' means to logically 'or' all of the flags together: x=OR({1,2,4}) --now x would equal (1 or 2 or 4) which comes out to 7. This is almost the same as adding them: x=1+2+4 except if one flag contains the same bits as another flag adding wont work, while OR() will still work ok. That's why OR is better. BTW, 'OR' is the same as 'or_all' in WinLib, if it's still called that :) Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's" From "Black Knight": "I can live with losing the good fight, but i can not live without fighting it". "Well on second thought, maybe not."