test failed
This commit is contained in:
14
main.cpp
14
main.cpp
@@ -1623,7 +1623,7 @@ int main(int argc, char** argv) {
|
|||||||
HWND hwndProp = CreateWindowEx(
|
HWND hwndProp = CreateWindowEx(
|
||||||
WS_EX_ACCEPTFILES,
|
WS_EX_ACCEPTFILES,
|
||||||
"propHWND",
|
"propHWND",
|
||||||
"Prop Test",
|
"PropertyGrid",
|
||||||
WS_OVERLAPPEDWINDOW & ~WS_MAXIMIZEBOX & ~WS_MINIMIZEBOX,
|
WS_OVERLAPPEDWINDOW & ~WS_MAXIMIZEBOX & ~WS_MINIMIZEBOX,
|
||||||
CW_USEDEFAULT,
|
CW_USEDEFAULT,
|
||||||
CW_USEDEFAULT,
|
CW_USEDEFAULT,
|
||||||
@@ -1648,8 +1648,17 @@ int main(int argc, char** argv) {
|
|||||||
pItem.lpszPropName="Test2";
|
pItem.lpszPropName="Test2";
|
||||||
pItem.lpszzCmbItems="What\0\0";
|
pItem.lpszzCmbItems="What\0\0";
|
||||||
pItem.lpszPropDesc="Description";
|
pItem.lpszPropDesc="Description";
|
||||||
|
pItem.iItemType = PIT_EDITCOMBO;
|
||||||
pItem.lpCurValue=0;
|
pItem.lpCurValue=0;
|
||||||
|
//PROPGRIDITEM FauxExplorerItem;
|
||||||
|
//PropGrid_ItemInit(FauxExplorerItem);
|
||||||
|
//FauxExplorerItem.lpszCatalog="Test";
|
||||||
|
//FauxExplorerItem.lpszPropName = "Editable Combo Field";
|
||||||
|
//FauxExplorerItem.lpszzCmbItems = "Test1\0Test2\0Test3";
|
||||||
|
//FauxExplorerItem.lpszPropDesc = "Press F4 to view drop down.";
|
||||||
|
//FauxExplorerItem.iItemType = PIT_EDITCOMBO;
|
||||||
|
//FauxExplorerItem.lpCurValue = 1;
|
||||||
|
//PropGrid_AddItem(propGrid, &FauxExplorerItem);
|
||||||
pItem.iItemType=PIT_EDIT;
|
pItem.iItemType=PIT_EDIT;
|
||||||
PropGrid_Enable(propGrid,true);
|
PropGrid_Enable(propGrid,true);
|
||||||
ShowWindow(propGrid,SW_SHOW);
|
ShowWindow(propGrid,SW_SHOW);
|
||||||
@@ -1659,6 +1668,7 @@ int main(int argc, char** argv) {
|
|||||||
PropGrid_ShowPropertyDescriptions(propGrid,TRUE);
|
PropGrid_ShowPropertyDescriptions(propGrid,TRUE);
|
||||||
PropGrid_ExpandAllCatalogs(propGrid);
|
PropGrid_ExpandAllCatalogs(propGrid);
|
||||||
|
|
||||||
|
|
||||||
HWND hwndMain = CreateWindowEx(
|
HWND hwndMain = CreateWindowEx(
|
||||||
WS_EX_ACCEPTFILES,
|
WS_EX_ACCEPTFILES,
|
||||||
"mainHWND",
|
"mainHWND",
|
||||||
|
|||||||
Reference in New Issue
Block a user