What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » How To Show A Form?

How To Show A Form?
Author: Message:
TheCodeSmith
Junior Member
**


Posts: 15
Joined: Jul 2004
O.P. How To Show A Form?
I'll be coding a plugin in VB6 - any forms that i add to the DLL never show up, even when called from a menu/text command.

How are we able to show config or about screens if this is disabled? Is it related to this...?

code:
'//   Technical Note: the message must be sent from the same thread  //
'//   Initialize() was called, else, Messenger Plus! will reject the //
'//   call for security reasons.                                     //
EDIT: i've just noticed a previous thread by CMI that's kinda related to this, even still, any feedback posted here will be gladly received.

All help is appreciated, thanks.
~ TheCodeSmith

This post was edited on 07-10-2004 at 07:19 PM by TheCodeSmith.
07-10-2004 07:05 PM
Profile E-Mail PM Find Quote Report
dotNorma
Veteran Member
*****

Avatar

Posts: 1745
Reputation: 17
33 / Male / –
Joined: May 2003
RE: How To Show A Form?
Erm , If you want to show a form in Basics you have to show it as a model.

code:
Form1.Show 1


instead of

code:
Form1.Show

07-10-2004 07:23 PM
Profile PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: How To Show A Form?
form1.show 1 will show it as a modual and it will the top window
07-10-2004 07:31 PM
Profile PM Web Find Quote Report
TheCodeSmith
Junior Member
**


Posts: 15
Joined: Jul 2004
O.P. RE: How To Show A Form?
Excellent.
That's opened my eyes to a lot of new stuff.

Thanks for the help.

PS: Was this explained somewhere in the readme or did i just miss it?
07-10-2004 07:35 PM
Profile E-Mail PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: How To Show A Form?
its basic visual basic :)


if u want anymore help just pm me :)
07-10-2004 07:39 PM
Profile PM Web Find Quote Report
TheCodeSmith
Junior Member
**


Posts: 15
Joined: Jul 2004
O.P. RE: RE: How To Show A Form?
quote:
Originally posted by jackass_wanabe
its basic visual basic :)

if u want anymore help just pm me :)

Thanks, i've been coding VB for 5 years and i've never found a use for the modal "1" on the Form.Show event.:o
07-10-2004 07:42 PM
Profile E-Mail PM Find Quote Report
dotNorma
Veteran Member
*****

Avatar

Posts: 1745
Reputation: 17
33 / Male / –
Joined: May 2003
RE: How To Show A Form?
quote:
Originally posted by TheCodeSmith
Thanks, i've been coding VB for 5 years and i've never found a use for the modal "1" on the Form.Show event.:o

Its actually quite useful for like about windows and stuff. So that the window is limited to that window.

If you need any help we have alot of Developers here. :-)
07-10-2004 07:48 PM
Profile PM Web Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: How To Show A Form?
I suggest you to learn using constants.
Why? Because some aren't always constant depending on system config. I think vbLeftButton is one of them.

Anyway, the constant you should use instead of "1" is vbModal
07-10-2004 10:51 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On