setwindowpos

    0熱度

    2回答

    我有一個函數,它需要一個位圖圖像的矩形區域,將其重新縮放到不同的尺寸,並在對話框應用程序中的某個窗口內的某個偏移處繪製它: void DrawImage(HANDLE hImageBitmap, CDC* pDstDC,const CRect& dstRect, CDC* pSrcDC,const CRect& srcRect) { pSrcDC->Se

    2熱度

    2回答

    我試圖拖動GLFW未修飾的窗口,但我遇到了一些事件的滯後,即使我使用glfwWaitEvents() 我有一個光標位置的回調,和一個簡單的循環: // register a cursor position callback glfwSetCursorPosCallback(win, cursor_pos_callback); // then loop.. while(!glfwWindow