#include <fltk/win32.h>
HWND hwnd = fltk::CreateWindow::find(window_pointer)->xid;
说明:
fltk下有个CreateWindow类,用于创建窗体,当在不同平台下,选择的CreateWindow类有所不同。
要想获得win32操作系统的句柄,必须使用<fltk/win32.h>文件的CreateWindow类下的find方法。
FLTK窗口句柄获取
#include <fltk/win32.h>
HWND hwnd = fltk::CreateWindow::find(window_pointer)->xid;
说明:
fltk下有个CreateWindow类,用于创建窗体,当在不同平台下,选择的CreateWindow类有所不同。
要想获得win32操作系统的句柄,必须使用<fltk/win32.h>文件的CreateWindow类下的find方法。
2319

被折叠的 条评论
为什么被折叠?