Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu Messaging is fouled up under 95/98

Status
Not open for further replies.

PCB1

Programmer
Oct 9, 2000
4
US
We have written an application which runs fine under NT, however when it is run under 95 or 98 The messaging for the menus appears to get miss directed by the OS.

For example ,when my app is the forward active screen, selecting the FILE menu from my own menu will most often bring up the 98 OS browser window. We have looked for cause in our own code but no luck so far.

Has anyone had this problem or do you have any ideas as to the cause?? [sig][/sig]
 
have you recompiled on a 9x machine? NT(including win2k) and win9x(including Me) have a different kernel in some cases this may cause a problem so try recompiling under win9x and see if that makes a difference [sig]<p>Chris Packham<br><a href=mailto:kriz@i4free.co.nz>kriz@i4free.co.nz</a><br><a href= > </a><br>A thousand mokeys at a thousand machines, it happened, it got called the internet.[/sig]
 
Thanks for the response. Will look into the possibility however we have two other apps which do not exhibit this problem.

The only difference is that the problem app was originally done to run on 3.0 and 3.1 and NT. I migrated it, however as I mentioned before the 98/95 environment causes problems. It may have nothing to do with the menus but only appears when the Menus are accessed. The specific message from the OS seems to imply that we are going to draw a custom menu, when in fact there are no custom menus. I think the actual message is WM_MeasureItem. [sig][/sig]
 
I'm with Chris...

I've had similar problems with VB apps, we always produce a binary for for the target platform now. [sig][/sig]
 
Recompilation under different Version OSs has made no difference.
[sig][/sig]
 
PCB1 -- I think you probably need to look at the API declarations you're using, I know that some of them differ (sometimes subtly) between Win OS's. Sorry that I can't be of more help. [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top