• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 582
  • Last Modified:

CM_SHOWINGCHANGED problem in Windows 98

I have developed a project using Delphi 2007 and it uses alot of Frames. As you know, there is no OnShow / OnHide events when using TFrames so you have to use a workaround which involves windows messages. The CM_SHOWINGCHANGED message works fine in XP, but since we had to port our application to Win98 we noticed that CM_SHOWINGCHANGED does not work in W98.

We have tried to move the code to overidden Create / Destroy sections, but this causes more problems.

Is there a workaround for this problem ?

Thanks in advance.
0
markh51
Asked:
markh51
  • 2
1 Solution
 
Geert GruwezOracle dbaCommented:
what is it you are doing in the TFrame that needs to wait for the show
0
 
markh51Author Commented:
Alot of our Frames are used to display data and when there is alot of data to show it takes a while to show which does not look good. Normaly the data window shows and when its busy loading data it will show "please wait". I cant seem to get this to work in the constructor.
0
 
markh51Author Commented:
The only way so far which I can see works, is to use a timer on the frame which checks if it is showing.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now