עבור לתוכן
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.

הוספת CHECKBOX לבחירת מוזיקה ON או OFF (או RADIO BUTTON)

Featured Replies

פורסם

שלום,

כיצד אני מוסיף לתוכנית win32 api אופצייה לבחירת מוזיקה ON או OFF ע"י Check Box או Radio Button?

צריכה להיות עבור החלון הראשי. מדובר ב C++.

בבקשה הסבר ולא לשלוח לינק ל win32 tutorial?

תודה.

פורסם
  • מחבר

מר שחצן שלא עוזר אל תגיב

פורסם

עדיף שחצן מחצוף. זה בסדר, את המטרה שלך השגת.

פורסם
  • מחבר

לאנשים שרוצים לסייע,

כיצד אני יכול להוסיף wav לתוך resource כדי שב EXE הוא יכלול אותו ? לא הצלחתי מהדוגמא של פצולד.

אם יש למישהו דוגמא אני אשמח (ממש עם WAV)

שאלה שניה כיצד ניתן ב checkbox שאם מסומן הוא יפעיל מוזיקה ואם לא הוא יפסיק מוזיקה או MUTE?

משהו כמו כאן רק שזה לא עובד:

SendMessage((HWND)lParam, BM_SETCHECK,
!SendMessage((HWND)lParam, BM_GETCHECK, 0, 0), 0);
if (SendMessage(checkbox1,BM_GETCHECK,0,0)==BST_UNCHECKED) //If UnChecked Box
{
PlaySound (TEXT ("Welcome.wav"), NULL, SND_FILENAME | SND_LOOP | SND_ASYNC) ;
SendMessage(checkbox1,BM_SETCHECK,BST_CHECKED,0); // Then Check Box

}
else {
PlaySound(NULL, NULL, 0);
SendMessage(checkbox1,BM_SETCHECK,BST_UNCHECKED,0); // Else Set UnCheck

תודה

ארכיון

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

דיונים חדשים

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.