עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FindWindowEx Function (windows API)

Featured Replies

פורסם

היי...

אני רוצה להשתמש בפונקצייה FindWindowEx.

(http://msdn.microsoft.com/en-us/library/ms633500(v=vs.85).aspx)

היא מקבלת 4 ערכים.

מישהו יכול להסביר לי מהם 2 הערכים האחרונים?

מה התפקיד שלהם?

מה הם יכולים להיות?

תודה...

פורסם

זה כתוב שם די בבירור... הפרמטר השלישי:

The class name or a class atom created by a previous call to the RegisterClass or RegisterClassEx function.

והפרמטר הרביעי:

The window name (the window's title). If this parameter is NULL, all window names match.

ובהמשך:

If the lpszWindow parameter is not NULL, FindWindowEx calls the GetWindowText function to retrieve the window name for comparison. For a description of a potential problem that can arise, see the Remarks section of GetWindowText.
פורסם
  • מחבר

ברור שקראתי את זה..

אבל למרות זאת לא הבנתי..

אפשר להרחיב קצת מעבר למה שכתוב בMSDN?

פורסם

לגבי lpszWindow אין מה להרחיב - זה פשוט שורת הכותרת של החלון (כלומר, הוא יחפש רק חלונות עם שורת הכותרת הזו).

לגבי ה-Class גם אין הרבה מה להרחיב... כשאתה יוצר חלון (CreateWindow/CreateWindowEx) אתה יכול לתת לו שם של Class. ב-FindWindow אתה יכול לומר לו לחפש רק חלונות מ-Class מסוים.

עוד על קלאסים תמצא כאן:

http://msdn.microsoft.com/en-us/library/ms632596%28v=vs.85%29.aspx

פורסם
  • מחבר

תודה!!

זה מאוד עזר..

יכול להיות שיהיו לי עוד שאלות, נראה...

פורסם
  • מחבר

אז ככה.

מישהו מכיר חלונות בשם "SHELLDLL_DefView" "SysListView32" ?

(אני חושב שזה חלונות בסיסיים, אולי שולחן העבודה, או משהו כזה..)

איזה חלונות משתמשים בclass הזה- "FolderView"?

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.