Re: Window styles was {Back to Bitmaps]

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu