/[winpt]/trunk/Include/wptW32API.h
ViewVC logotype

Diff of /trunk/Include/wptW32API.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 192 by twoaday, Sat Apr 1 12:36:22 2006 UTC revision 204 by twoaday, Wed Apr 26 06:37:23 2006 UTC
# Line 21  Line 21 
21  #ifndef WPT_W32_API_H  #ifndef WPT_W32_API_H
22  #define WPT_W32_API_H  #define WPT_W32_API_H
23    
24    /* Macros to change the cursor */
25    #define op_begin()  SetCursor (LoadCursor (NULL, IDC_WAIT))
26    #define op_end()    SetCursor (LoadCursor (NULL, IDC_ARROW))
27    
28  #include "wptCrypto.h"  #include "wptCrypto.h"
29  #include "wptUtil.h"  #include "wptUtil.h"
30    
# Line 79  const char * strtimestamp (long timestam Line 83  const char * strtimestamp (long timestam
83  const char* get_locale_date (long tm_t, char *buf, DWORD buflen);  const char* get_locale_date (long tm_t, char *buf, DWORD buflen);
84  int get_temp_name (char *buf, DWORD buflen, const char *name);  int get_temp_name (char *buf, DWORD buflen, const char *name);
85    
86    void SetWindowText_utf8 (HWND hwnd, const char *txt);
87    void SetDlgItemText_utf8 (HWND dlg, int id, const char *txt);
88    int GetDlgItemText_utf8 (HWND dlg, int id, char **r_txt);
89    
90  #define listbox_add_string(lb, string) \  #define listbox_add_string(lb, string) \
91      SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) )      SendMessage( (lb), LB_ADDSTRING, 0, (LPARAM)(LPCSTR)(string) )
92    

Legend:
Removed from v.192  
changed lines
  Added in v.204

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26