|
发表于 2014-8-17 16:25:36
|
显示全部楼层
我按照你的例子 怎么执行到r=GUI_ExecCreatedDialog(hFs);就出不来了,没有进入硬件错误死循环。
while(1)
{
hFs = CHOOSEFILE_Create(WM_HBKWIN, //Handle of parent window.
0, //X position in pixels of the dialog in clie nt coordinates.
0, //Y position in pixels of the dialog in client coordinates.
xSize, //X-size of the dialog in pixels.
ySize, //Y-size of the dialog in pixels
apDrives, //Pointer to an array of strings containing the root directories to be used.
GUI_COUNTOF(apDrives),//Number of root directories.
0, //Initial index of the root directory to be used.
"FileSystem", //Title to be shown in the title bar.
0, //Additional flags for the FRAMEWIN widget.
&Info); //Pointer to a CHOOSEFILE_INFO structure.
r = GUI_ExecCreatedDialog(hFs);
} |
|