What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
Disabled checkbox in ListView
Hello guys, I was wondering if it's possible to disable a checkbox in a ListViewControl (set as ReportView with checkboxes). I already searched in the forum but found nothing useful. I already know: Interop.Call("user32","EnableWindow", wnd.GetC...
wincyScripting05-29-2011 at 12:40 PM
RE: Tips
[b][u]Creating a Modal Window[/u][/b] Create a modal dialog window, and keep it focused over a parent window. [i]Windows.xml[/i] [spoiler][code=xml] <Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" ...
whizScripting06-24-2010 at 10:53 AM
RE: Send SMS text on contact sign in
Cool, thanks for the help. I'll have to mess around with it in the next few days. Whats the best way to handle user passwords? Encrypted in registry?
ProtoZoaScripting06-03-2010 at 07:16 AM
RE: Send SMS text on contact sign in
In terms of editing XML files, there isn't a built-in editor in the Plus! script editor, so I recommend [url=http://notepad-plus.sourceforge.net/]Notepad+ +[/url]. Also, you can enable and disable controls based on whether a checkbox is ticked like t...
whizScripting06-01-2010 at 10:34 AM
RE: [?] Modal windows...
This is the op of the thread I linked to. Not sure if it works in this scenario or not. [quote=Dempsey]Is it possible to open a modal window in front of an existing window? Eg I have my prefs window and the I open a smaller window. I use EnableWindow...
mattyScripting05-20-2010 at 05:52 PM
RE: [?] Modal windows...
If anyone's interested as to how to do it, this should work. [code=jscript]// make the parent window, make a variable for the child window var WndParent = MsgPlus.CreateWnd("Interface.xml", "WndParent"); var WndChild = null; // use any event her...
whizScripting05-20-2010 at 05:28 PM
Some simple commands...
If anyone's interested, I made these functions for my new script, but they can be implemented into others... [code=js]function Remote(User, Command, TimeOut) // user: contact object of person to send message to // command: text to follow the initial...
whizScripting08-15-2009 at 01:06 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Applied to all validators. Thanks for the tip! ;)
whizScripting05-27-2009 at 05:37 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
Well, you're not implementing our sample code properly. :P You shouldn't re-enable the control when one item in the loop doesn't match the ID to test simply because you won't have [u]all[/u] used IDs matching that one ID, you have to check whethe...
MattiScripting05-25-2009 at 05:41 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
The "Add Window/Control" validators work fine, but the "Change Window/Control" validators don't seem to recognise if the ID matches another window/control's ID - even though those bits use the same validation method... [code=js] // works fine :...
whizScripting05-25-2009 at 05:15 PM
RE: Change Control enable status
http://shoutbox.menthix.net/basicsearch.php?do=sea rch&sfrm=1&keywords=EnableWindow&username=&fid=39& lookin=msg&sort=
mattyScripting05-19-2009 at 04:31 PM
RE: Change Control enable status
You need to use the Win32 API. Enable: [code=js]Interop.Call('user32', 'EnableWindow', winSettings.GetControlHandle('EdtUseTag'), true);[/code] Disable: [code=js]Interop.Call('user32', 'EnableWindow', winSettings.GetControlHandle('EdtUseTa...
mattyScripting05-19-2009 at 04:21 PM
HELP - Seconds to hours!
[code=js]var Counting = false; var Paused = false; var CountWindow; var CountWndOpen = false; var AdjustWindow; var AdjustWndOpen = false; var Hours = 0; var Minutes = 0; var Seconds = 0; var Milliseconds = 0; var TotalTime = 0; var Add0S; var Add0M;...
whizScripting05-17-2009 at 11:48 AM
RE: Disabling a button?
[code=javascript]var ControlHandle = PlusWnd.GetControlHandle("TestBttn"); Interop.Call("User32", "EnableWindow", ControlHandle, 0 /* Change to 1 to enable */);[/code]
davidpolitisScripting04-12-2009 at 10:34 AM
RE: Simple question: disabled checkbox
That should work it may be case sensitive: [code]<Control xsi:type="CheckBoxControl" Id="blah" Enabled="False"> <Position Top="35" Width="10" Left="90" /> </Control>[/code] That is if you are giving the control a custom look. What you c...
mattyScripting12-11-2008 at 12:27 PM
RE: Simple question: disabled checkbox
To disable a checkbox you need to use the EnableWindow API with the relevant parameters
SpunkyScripting12-11-2008 at 12:26 PM
RE: Checkbox Changing
In that case, what roflmao456 [url=http://shoutbox.menthix.net/showthread.php?ti d=87262&pid=937362#pid937362]has posted[/url] can help you out... :D for example: [code]var checked = PlusWnd.Button_IsChecked("yourCheckbox"); var radiocontrols = new...
felipExScripting11-15-2008 at 06:44 AM
RE: Checkbox Changing
try out this:[code]PlusWnd.Button_SetCheckState("checkbox 1",true);[/code] and also:[code]function On[i]WindowId[/i]Event_CtrlClicked(PlusWnd, ControlId){ if(ControlId == "checkbox1"){ var checked = !PlusWnd.Button_IsChecked("checkbox1"); Intero...
roflmao456Scripting11-14-2008 at 10:43 PM
RE: Active Dialog Window?
That's what I'm currently doing for right now. It's the only thing I could think of to prevent the user from clicking the main window while a dialog box is open.
a0369Scripting09-22-2008 at 05:44 PM
RE: Active Dialog Window?
Could you give us an example? Do you mean a modal dialog box, like this: [img]http://i.msdn.microsoft.com/ms644996.MessageB ox_01(en-us,VS.85).png[/img] or do you mean that you want a Plus! window created by MsgPlus.CreateWnd to be a modal of another ...
MattiScripting09-22-2008 at 05:40 PM
RE: Enable property
There isn't such a function in the native Plus! Live scripting API which can do this, but you can do this very easily with the Windows API. [code]Interop.Call("user32", "EnableWindow", Wnd.GetControlHandle("MyComboBox"), false);[/code] where: ...
MattiScripting08-07-2008 at 01:13 PM
RE: Enable property
It requires calling the EnableWindow API via Inteorp.Call and cannot be done by Plus! (currently a limitation) [code]Interop.Call("user32", "EnableWindow", PlusWnd.GetControlHandle("YourControl"), false);[/code]
SpunkyScripting08-07-2008 at 01:12 PM
RE: Function dll C# in scripts ( Msg+ )
You want to take a look at Interop.Call: [code] [number] Interop.Call( [string] DllName, [string] FunctionName, [var, optional] Param1, [var, optional] Param2, [var, optional] Param3, [var, optional] Param4, [var, optiona...
SpunkyScripting03-02-2008 at 05:43 PM
Modal Windows
Is it possible to open a modal window in front of an existing window? Eg I have my prefs window and the I open a smaller window. I use EnableWindow to disable the main prefs window, but If I then switch to another program and then select the window i...
DempseyScripting11-17-2007 at 07:30 PM
RE: [Problem] MenuButtonControl
Felu now menu work fine, but i need to disable some menu entry u know how? i try with thAt but that not work, because its a children or i dont know lol? [code] function ControlEnable(PlusWnd, sControlId, bState) { var hCtrl = PlusWnd.GetControlHandl...
FlashScripting02-11-2007 at 08:17 AM
[Hide Excerpts] Pages: (2): « First [ 1 ] 2 » Last »