Hello, I have a program where after you login, I need it to re-design the whole window. Is there a way I can change the WndProc to make the code cleaner. Thanks. I have a case for the login if successful, so it will be put in there.

Recommended Answers

All 2 Replies

Post code so I see what you mean? When I have multiple window processes, I sometimes seperate them into different header files to stay organised.

You shouldn't have several CALLBACKs for the same window. Maybe write a function that takes care of this specific case?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.