Menu

Version 3.20

Today's changes:
[+] Property for MCK and function for KOL TControl added: CenterOnCurrentScreen (centers a form on a display where a mouse cursor is located). VK

[+] Function MainForm added (returns Applet.Children[0] or Applet itself if App button is not used). VK

[*] Changes in TTrayIcon: when assigning TRUE to the Active property, it is become TRUE only in case when the operation was successful. Also, a function ForceActive(sleeptime, timeout) added to do several attempts to assign TRUE to the Active. This can fix possible errors in activating tray icon when an application is started on system startup. AndreyRus, VK

[+] Function added: ShowMsgCentered to show message centered on a given form (or a control). VK

[+] Functions added: oem2char, char2ansi, SmartOem2CharRus (the last is only for Russian conversions cp866 -> cp1251 when lines of text are in different encoding and even may be was twice converted already). VK

[+] Functions added: ComputerName, UserName, ListUsers, IsUserAdmin. VK

[+] Function added: ForceSetForegroundWindow (following calls of SetForegroundWindow for any windows in system always work, but ForceSetForegroundWindow must be called when the application is foreground already). VK

[+] Function added: SendCommands2Wnd, which allows to send a lot of keys to a window very fast (at least works for up to 4K keys and may be more). VK

[+] Function added: ListMonitors, which returns an array of rectangles occupied by all the installed monitors. VK

[+] Function added: MonitorAt(X, Y) which returns a display rectangle for a monitor where given point is located. If failed to find a display at a position, returns main monitor rectangle. VK

[*] Small change in TImgShow: an image is drawn centered (this has effect in case when a size of TImgShow control is different then size of an ImageList from where an image shown). VK

Today was nice rainy evening ;)

Posted by Vladimir Kladov 2013-07-25

Log in to post a comment.