version 1.15, 2005/10/03 11:10:37 |
version 1.18, 2008/05/02 02:12:47 |
Line 93 CAsir32guiView::CAsir32guiView() |
|
Line 93 CAsir32guiView::CAsir32guiView() |
|
{ |
{ |
// TODO: この場所に構築用のコードを追加してください。 |
// TODO: この場所に構築用のコードを追加してください。 |
static int tmpView_created = 0; |
static int tmpView_created = 0; |
char errmsg[BUFSIZ]; |
char errmsg[BUFSIZ],view_handle[BUFSIZ]; |
|
|
init_input_history(); |
init_input_history(); |
read_input_history(); |
read_input_history(); |
Line 716 void CAsir32guiView::OnTodoparametrize() |
|
Line 716 void CAsir32guiView::OnTodoparametrize() |
|
sprintf(helpfile,"%s\\help\\todo_parametrizehelp.chm",root); |
sprintf(helpfile,"%s\\help\\todo_parametrizehelp.chm",root); |
::HtmlHelp(NULL, helpfile, HH_DISPLAY_TOPIC, 0); |
::HtmlHelp(NULL, helpfile, HH_DISPLAY_TOPIC, 0); |
|
|
|
} |
|
|
|
BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) |
|
{ |
|
// TODO: この位置に固有の処理を追加するか、または基本クラスを呼び出してください |
|
|
|
BOOL ret = CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext); |
|
FILE *fp = fopen("asirgui.hnd","w"); |
|
char *temp; |
|
|
|
if ( fp ) { |
|
fprintf(fp,"%d",(unsigned int)theView->m_hWnd); |
|
fclose(fp); |
|
if ( temp = getenv("TEMP") ) { |
|
int len; |
|
char *name; |
|
|
|
len = strlen(temp); |
|
name = (char *)malloc(len+BUFSIZ); |
|
sprintf(name,"%s\\asirgui.hnd",temp); |
|
fopen(name,"w"); |
|
fprintf(fp,"%d",(unsigned int)theView->m_hWnd); |
|
fclose(fp); |
|
} |
|
} |
|
return ret; |
} |
} |