mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
add ceSetDlgItemNum
This commit is contained in:
parent
20b14dfa11
commit
49fce9e3ed
2 changed files with 10 additions and 0 deletions
|
@ -83,6 +83,14 @@ ceGetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf, XP_U16* bLen )
|
|||
}
|
||||
} /* ceGetDlgItemText */
|
||||
|
||||
void
|
||||
ceSetDlgItemNum( HWND hDlg, XP_U16 id, XP_S32 num )
|
||||
{
|
||||
XP_UCHAR buf[20];
|
||||
XP_SNPRINTF( buf, sizeof(buf), "%ld", num );
|
||||
ceSetDlgItemText( hDlg, id, buf );
|
||||
} /* ceSetDlgItemNum */
|
||||
|
||||
void
|
||||
ce_selectAndShow( HWND hDlg, XP_U16 resID, XP_U16 index )
|
||||
{
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
void ceSetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf );
|
||||
void ceGetDlgItemText( HWND hDlg, XP_U16 id, XP_UCHAR* buf, XP_U16* bLen );
|
||||
|
||||
void ceSetDlgItemNum( HWND hDlg, XP_U16 id, XP_S32 num );
|
||||
|
||||
void ceSetDlgItemFileName( HWND hDlg, XP_U16 id, XP_UCHAR* buf );
|
||||
|
||||
void positionDlg( HWND hDlg );
|
||||
|
|
Loading…
Reference in a new issue