The case of the vanishing dialogs

The case of the vanishing dialogs

Postby James Bott » Thu Jun 14, 2007 2:00 am

This is a strange one. I have an application compiled in FW Aug 2006/xHarbour. It has a main screen that is a browse. All works fine under XP, but under Win98 it gets strange. When it is first run (the browse is filtered) all the dialogs work. But if you change the filter, then none of the dialogs will appear--not the FW ones nor the Win API ones like File-Save As or Printer setup. The menu works and the toolbar works but nothing happens after you make a selection. I have never seen anything like this before--I don't even know where to begin looking.

Has anyone else seen anything like this? Any ideas?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Thu Jun 14, 2007 6:15 am

James,

I suggest you to place a MsgInfo( nWParam, nLParam ) at Class TWindow Method Command(), just before the "do case", and see what values arrive there when you click on a menuitem
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42100
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Sat Jun 30, 2007 8:37 pm

Antonio,

I get 0,0 under both XP and Win98. I guess this isn't very helpful.

I also recompiled it with FWH 7.05 and it still isn't working.

Any more ideas?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby James Bott » Mon Jul 02, 2007 5:08 pm

I have discovered that this problem is related to my use of a drop-down menu button on a TSBar class toolbar (third-party, ver 5.0, written by Manuel Mercado). As a workaround I moved this menu to the main menu and it works fine. I have not yet found a solution for the original problem.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: SantaCroya and 93 guests