Sign in to follow this  
Followers 0
dougie

Tab control and GUIRegisterMsg

3 posts in this topic

Hi All,

I am busy with a form that has a ListView and a tab control.

I am using GUIRegisterMsg to trap the Double-Clicks on the list view.

With the GUIRegisterMsg enabled, the double-clicks work but the tab control does not change when I select the Tab Items, it is as though the GUIRegisterMsg routine is receiving the tab control messages but not preventing the fields of the selected tab-item from displaying.

If I disable the GUIRegisterMsg, the tab control works correctly.

Does anybody have an explanation for this?

Thanks

Dougie

Share this post


Link to post
Share on other sites



Does anybody have an explanation for this?

Thanks

Dougie

Not without seeing a working example of your problem.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Not without seeing a working example of your problem.

Here is the program.

The Tab control is in the frmRelease unit. GUIRegisterMsg is in the Main unit (LandBank.au3)

I have included SQLite3 dll as a separate attachment.

Run landbank.au3

select File, Test Transactions from the menu

use the release transaction (default) and click the Calculate button.

click OK on the MsgBox

The release screen is displayed - select the tab items - works.

In Landbank.au3 - uncomment the GuiRegisterMsg line (106) and rerun.

Rerun as above

TestDB.zip

Thanks

Dougie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0