[Cabi@net:work Top Page]
[Utilities]
[For Development]
[About Cabi@net:work]
[Programming Snippets]
[Corolize Menu Items]
[Default Button Outline]
This page introduces some snippets or small samples of Macintosh Programming. All codes are written in C/C++. You can use them freely.
We can use 'mctb' resources to colorize menu items statically.
But is there any way to do at runtime?
I'll tell how to do it.
Haven't you met applications that use the button like this?
I feel this is not beautiful.
The better one is something like this.
There is few difference between these two buttons. However, I cannot trust the programmer who uses the former buttons. I'd rather trust the programmer that forgets DisposeHandle.