Hi All,
some weeks ago I (new in API programming) was beginning to try out PPL. It's very nice, because it's possible to write programs, which are running on the desktop AND the pocket PC.
In the meantime I progressed a little relating API programming. But till today I didn't succeed to change the background color or style of a window or control. (FillRect works, but is not that what I want.)
Therefore I have any questions:
How can I change the members of classes before I register this class?
I found out, that in C (I'm new in C too) I define the class as:
WNDCLASS myClass;
and allocate the needed memory as:
memset(&myClass;,0,sizeof(WNDCLASS));
Then I can already access the class members as:
myClass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
and can register the class as:
RegisterClass(&myClass;);
How I do the same in PPL?
Thank you very much for any help or suggestions.
Regards Joerg
some weeks ago I (new in API programming) was beginning to try out PPL. It's very nice, because it's possible to write programs, which are running on the desktop AND the pocket PC.
In the meantime I progressed a little relating API programming. But till today I didn't succeed to change the background color or style of a window or control. (FillRect works, but is not that what I want.)
Therefore I have any questions:
How can I change the members of classes before I register this class?
I found out, that in C (I'm new in C too) I define the class as:
WNDCLASS myClass;
and allocate the needed memory as:
memset(&myClass;,0,sizeof(WNDCLASS));
Then I can already access the class members as:
myClass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
and can register the class as:
RegisterClass(&myClass;);
How I do the same in PPL?
Thank you very much for any help or suggestions.
Regards Joerg