Creo二次開發 函式 9

2022-09-17 14:27:16 字數 693 閱讀 5670

本類函式是在二次開發中經常用的到的乙個函式,為了達到介面的統一,建議先使用creo自帶的函式進行實現。

#include

proerror prouimessagedialogdisplay (prouimessagetype type,//訊息的型別

wchar_t* title,//對話方塊的標題

wchar_t* msg_txt,//訊息文字

prouimessagebutton* buttons,//對話方塊中按鈕標識的陣列

prouimessagebutton def_button, //預設按鈕的標識 

prouimessagebutton* user_choice,//輸出使用者選擇的按鈕的標識 

) typedef enum

prouimessagetype;

typedef enum pro_ui_message_button

prouimessagebutton;

幫助檔案中的確認函式

proerror   userdisplaypopupconfirmation ()

else if (user_choice == pro_ui_message_no)

proarrayfree(buttons);//新新增的**,筆者認為在申請之後,應該釋放記憶體。

return pro_tk_no_error;

}

Creo二次開發 函式

include proerror proconfigoptset proname option,propath option value 設定名稱為option的關鍵字的值為option value.proerror proconfigoptget proname option,proline op...

Creo二次開發 函式 2 資訊類函式

promessagedisplay 將資訊文字顯示到資訊視窗中 prostringtowstring msgfilename,msgfile.txt promessagedisplay msgfilename,ptafex error 0s all the required references n...

Creo二次開發

本類函式是在二次開發中經常用的到的乙個函式,為了達到介面的統一,建議先使用creo自帶的函式進行實現。include proerror prouimessagedialogdisplay prouimessagetype type,訊息的型別 wchar t title,對話方塊的標題 wchar ...