Jump to content

Tab control and GUIRegisterMsg


Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

Does anybody have an explanation for this?

Thanks

Dougie

Not without seeing a working example of your problem.

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.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...