Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Borland OWL  Resource Dialog Button

Posted on 1997-04-23
Medium Priority
Last Modified: 2012-06-22
Is that possible somehow to capture and handle
the "BN_PUSHED" (equ. "BN_HILITE") OWL event from the
ordinary button of the Dialog resource work shop window
for application written for Win95 Win32 Target platform?
I have been using Borland C++,V.5.01 compiler with OWL library on Pentium 200 machine. I could trail only
notification events.

Question by:leonov
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 1162927
Yes, you could still catch BN_HILITE with
in OWL, however, BN_PUSHED is only for Win95. Even BN_HILITE
is supplied only for compatibility.

good luck


Author Comment

ID: 1162928
Gaohong's answer gives the same information as
OWL Help does. But, my question was:
Why I can not catch BN_HILITE as well as
BN_PUSHED, even working under Windows95?

does not work, and
does not work either.

Do you think, there is something wrong with
OWL library?  How to check this?
Is it possible to fix this trouble
by recompiling the library?


Accepted Solution

gaohong earned 200 total points
ID: 1162929
It is my understanding that you only needs BN_PUSHED or BN_HILITE
in ownerdraw button, and it is supplied for only backward compatibility.

For 32bit application on win95 or after win3.1, your ownerdraw
button should rely on DRAWITEMSTRUCT.

If we are talking about non-ownerdraw button, forget about
try to get this messages (BN_PUSHED), windows has down all the things for you.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question