isiconic function of Delphi function to determine whether a window is minimized

Source: Internet
Author: User

Http://blog.sina.com.cn/s/blog_66357ab901012t2h.htmldelphi function Isiconic function to determine if the window is minimized(2012-05-26 22:00:21) reproduced
Tags: gossip

The Isiconic function determines whether the specified window is minimized (iconic).

The return value of the function Isiconic depends on whether the specified window has been minimized.

BOOL Isiconic (HWND hwnd//handle of window);

Parameters

HWnd window handle identifies the windows.

Return Values

If the window is iconic (minimized), the return value is nonzero.

Minimize return Nonzero
If The window is not a iconic, the return value is zero.

Not minimized, returns 0

Example

If Isiconic (Ihandle) Then
ShowWindow (Ihandle, SW_SHOWNORMAL)

Else

Begin
ShowMessage (' program has run! ');

BringWindowToTop (Ihandle);
End

isiconic function of Delphi function to determine whether a window is minimized

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.