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

סקרינשוט ב VC++.net

Featured Replies

פורסם

אני מפעיל את הקוד והפונקציה מחזירה מסך ריק


HBITMAP CControlzServerDlg::ScreenShot()
{
HDC hScrDC, hMemDC; // screen DC and memory DC
int xScrn, yScrn; // screen resolution
HGDIOBJ hOldBitmap , hBitmap;

// create a DC for the screen and create
// a memory DC compatible to screen DC
hScrDC = CreateDC(NULL, NULL, NULL, NULL);
hMemDC = CreateCompatibleDC(hScrDC); // get points of rectangle to grab

xScrn = GetSystemMetrics(SM_CXSCREEN);
yScrn = GetSystemMetrics(SM_CYSCREEN);

// create a bitmap compatible with the screen DC

hBitmap = CreateCompatibleBitmap(hScrDC, xScrn, yScrn);

// select new bitmap into memory DC

hOldBitmap = SelectObject (hMemDC, hBitmap);

// bitblt screen DC to memory DC

BitBlt(hMemDC, 0, 0, xScrn, yScrn, hScrDC, 0, 0, SRCCOPY);

// select old bitmap back into memory DC and get handle to
// bitmap of the screen

hBitmap = SelectObject(hMemDC, hOldBitmap);

// clean up

DeleteDC(hScrDC);
DeleteDC(hMemDC);

// return handle to the bitmap

return (HBITMAP)hBitmap;

}

ניסיון לעשות סקרינשוט בויסואל סי פלוס פלוס נקודה נט כאמור

פורסם
  • מחבר

];

ארכיון

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

דיונים חדשים

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.