PDA

View Full Version : minimize



tanhayetanha
دوشنبه 15 بهمن 1386, 10:46 صبح
سلام.
من یک کدی به زبان دلفی نوشتم . می خوام زمانی که application برنامم د ر حالت minimize بود اگه اتفاق جدیدی در برنامم افتاد به عنوان هشدار minimize برنامم شروع به چشمک زدن کنه.به نظر شما این کار چه طور عملی می شه.
کسی می تونه کمکی کنه.؟ :متفکر:

lord_viper
دوشنبه 15 بهمن 1386, 21:49 عصر
The FlashWindow function flashes the specified window once.

BOOL FlashWindow(

HWND hWnd, // handle to window to flash
BOOL bInvert // flash status
);


Parameters

hWnd

Identifies the window to be flashed. The window can be either open or minimized (iconic).

bInvert

Specifies whether the window is to be flashed or returned to its original state.
The window is flashed from one state to the other if this parameter is TRUE.
If it is FALSE, the window is returned to its original state (either active or inactive).
When an application is iconic, if this parameter is TRUE, the taskbar window
button flashes active/inactive. If it is FALSE, the taskbar window button flashes
inactive, meaning that it does not change colors. It flashes, as if it were being
redraw, but it does not provide the visual invert clue to the user.

tanhayetanha
سه شنبه 16 بهمن 1386, 09:04 صبح
می شه لطفا بیشتر راهمنمایی کنید

vcldeveloper
چهارشنبه 17 بهمن 1386, 01:50 صبح
می شه لطفا بیشتر راهمنمایی کنی
دیگه چه راهنمایی بکنه؟! اسم تابعی که مشکل شما رو حل میکنه و توضیحات مربوط به اون هم ارائه شده. استفاده از تابع هم که کار پیچیده ایی نیست؛ Handle پنجره برنامه رو بهش میدید به اضافه یه مقدار True که وقتی برنامه Minimized بود، چشمک بزنه.