INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Plugin status  (Read 1336 times)

Mirko

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 495
  • Coffee ready?
Plugin status
« on: September 04, 2002, 01:07:30 am »

Hi,

may a plugin be noticed, if it is disabled? Or is it simply unloaded (so I get the terminate event)?

If the user clicks on the plugin, I don't get an event for that, right? And if the user clicks on something else, so that the plugin is not displayed anymore, there is no event, either?

May I use clientwidth and clientheight to check, if the plugin is displayed or not? Then I could check in the resize-event...

Thanks for any information,
Mirko
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Plugin status
« Reply #1 on: September 04, 2002, 05:18:10 am »

Mirko

well yes and no.

what was found to work is detect Hide or Show if "Show" program is active if "Hide" the program is not.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Mirko

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 495
  • Coffee ready?
RE:Plugin status
« Reply #2 on: September 04, 2002, 07:46:36 am »

I don't understand that :-/

What is hidden?

Thanks.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Plugin status
« Reply #3 on: September 04, 2002, 12:51:15 pm »

>>> RhinoBanga 08-30-2002 09:04:17 A.M.
>>> Just add these lines to your main control's code:

Private Sub UserControl_Hide()
MsgBox "Hide"
End Sub

Private Sub UserControl_Show()
MsgBox "Show"
End Sub
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up