Advertisement

05.07.2008 at 04:37AM PDT, ID: 23382363
[x]
Attachment Details

Win32 custom control, WM_SETTEXT issue

Asked by imw225 in Windows Programming, C++ Programming Language

Tags: C++

I have a win32 button control (no mfc), it all works fine, except one thing.

I send the WM_SETTEXT to default processing, this makes the button repaint. The problem is that when the button repaints like this it paints the classic win32 button.

I can solve this by redrawing the window again, this works fine. But I get a nasty flicker with the old button.

Is there any way I can change the window's text without redrawing or sending the message to DefWindowProc? Or is there a reason this makes the window get drawn by it?

The text is not used in the button's skin, it's just used for accesibility (narrator).

Any help is appreaciated.Start Free Trial
 
Loading Advertisement...
 
[+][-]05.07.2008 at 08:01AM PDT, ID: 21517166

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 08:03AM PDT, ID: 21517174

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 08:27AM PDT, ID: 21517429

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 08:34AM PDT, ID: 21517495

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 08:36AM PDT, ID: 21517519

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 09:16AM PDT, ID: 21517910

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 09:24AM PDT, ID: 21517984

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 09:29AM PDT, ID: 21518040

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 09:34AM PDT, ID: 21518084

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 01:03PM PDT, ID: 21519879

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows Programming, C++ Programming Language
Tags: C++
Sign Up Now!
Solution Provided By: pratap_r
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.07.2008 at 02:40PM PDT, ID: 21520571

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 02:15AM PDT, ID: 21523299

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628