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

שפת סי.בעיה ב-editbox

Featured Replies

פורסם

יצרתי editbox

אני רוצה שהנתונים הבאים יודפסו על המסך כאשר לאינפו יש 3 שדות. הבעיה היא שבאדיתבוקס זה מדפיס לי רק את המספר טלפון. איך אני יכול לגרום לכך שזה ידפיס לי את כול הנתון(אני רוצה שזה ידפיס לי את נתון השם נתון המשפחה ונתון הטלפון בשורה חדשה). כמו כן זה צריך להיות ב סי בלבד(winapi)

מצורף חלק מהקוד

זה האדיט בוקס

hwndList = CreateWindow (TEXT("edit"), NULL,
WS_CHILD | WS_VISIBLE | WS_VSCROLL |
WS_BORDER | ES_LEFT | ES_MULTILINE | ES_NOHIDESEL |
ES_AUTOHSCROLL | ES_AUTOVSCROLL,
tm.tmAveCharWidth, tm.tmHeight * 1,
tm.tmAveCharWidth * 63+
GetSystemMetrics (SM_CXVSCROLL),
tm.tmHeight *25,
hwnd, 200,
(HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE),
NULL) ;

וזה קוד ההדפסה שאני רוצה שיהיה


data=current_pos->info;
SetWindowText(hwndList,data.First_Name);
SetWindowText(hwndList,data.Last_Name);
SetWindowText(hwndList,data.PhoneNumber

);]

פורסם

שנה בבקשה את הכותרת כך שתכיל יותר מידע (השפה בה אתה עובד, windows api וכו').

עטוף את הקוד שלך בטאגים של קוד (כפתור # למעלה) על מנת שיהיה קריא.

תודה.

פורסם

טוב אין לי מספיק מידע להיות בטוח אבל ממה שנראה לי אתה מעביר את התוכן של INFO ל-DATA במקום להעביר אותו כפוינטר

נסה או לשנות את DATA לפוינטר ולהעביר את הכתובת של INFO וא פשוט במקום להשתמש ב-DATA ישר תשים את INFO בפונקציה

ארכיון

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

דיונים חדשים

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.