1. Window styles was {Back to Bitmaps]
- Posted by don cole <doncole at pacbell.net> Mar 26, 2006
- 489 views
Thank you Al and Jason, Correction: Should have been Bitwise not Bitmaps. Now what is confusing me here is why are there 2 Window styles ? create createEx style styleEx flag flagEx Don Cole
2. Re: Window styles was {Back to Bitmaps]
- Posted by Al Getz <Xaxo at aol.com> Mar 26, 2006
- 487 views
don cole wrote: > > Thank you Al and Jason, > > Correction: Should have been Bitwise not Bitmaps. > > Now what is confusing me here is why are there 2 Window styles ? > > create > createEx > > style > styleEx > > flag > flagEx > > Don Cole Hi Don, There are two window styles (Style, StyleEx) because that's the way Microsoft did it when Windows evolved to have more advanced styles. Wait till you use the HotTrackButton class, which has one more style: the "Advanced" style, he he. This gives it three styles altogether The advanced style controls the text shadow/highlight order. Style StyleEx AdvancedStyle (1,2 or 3) 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."
3. Re: Window styles was {Back to Bitmaps]
- Posted by Jason Gade <jaygade at yahoo.com> Mar 27, 2006
- 512 views
don cole wrote: > > Thank you Al and Jason, > > Correction: Should have been Bitwise not Bitmaps. > > Now what is confusing me here is why are there 2 Window styles ? > > create > createEx > > style > styleEx > > flag > flagEx > > Don Cole You're welcome! I didn't think of equating it to electronic OR gates. Since I work in electronics I should have thought of that. That is the best way of thinking about it. Think of a series of OR gates with each input being one of WS_SYSMENU and WS_OVERLAPPED. Say 32 OR gates so all of the bits could be ORed together. The output is the result. It becomes much simpler with software because with hardware you would have to add even more inputs for each value to be ORed together. The difference between create() and createEx() is the different versions of Windows. The *Ex versions either take more options or use Unicode or whatever. You really have to look up the documentation on the functions. This is from someone who reads a lot but doesn't do anything with the knowledge that he gains (me). -- "Any programming problem can be solved by adding a level of indirection." --anonymous "Any performance problem can be solved by removing a level of indirection." --M. Haertel "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.