开发者

How to access window class extra memory without a window handle?

I need to register a window class, and right after that set some data in it's extra memory section (the one cbClsExtra refers to) before any window of the class is being created. The problem is that SetClassLong expects a HWND in orde开发者_JAVA技巧r to identify the class, instead of the class's name or atom.

What's the way to acheive this?


Why can't you just create a dummy window of that class, set the data and destroy the window?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜