Windows API使用记录

调用文件打开对话框:GetOpenFileName 

http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/windows/desktop/ms646829(v=vs.85).aspx#open_file


获取“我的文档”等文件夹的路径(兼容XP、2000):http://msdn.microsoft.com/zh-cn/library/windows/desktop/bb762181(v=vs.85).aspx

http://stackoverflow.com/questions/18493484/shgetfolderpath-deprecated-what-is-the-alternative


Loads a string resource from the executable file: LoadString

http://msdn.microsoft.com/en-us/library/windows/desktop/ms647486(v=vs.85).aspx


Creates a modal dialog box from a dialog box template resource : DialogBoxParam

http://msdn.microsoft.com/en-us/library/windows/desktop/ms645465(v=vs.85).aspx


Diff. ( EndDialog, DestroyWindow ) : modal , modeless

http://msdn.microsoft.com/en-us/library/windows/desktop/ms645472(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/windows/desktop/ms632682(v=vs.85).aspx


Sets the title or text of a control in a dialog box : SetDlgItemText

http://msdn.microsoft.com/en-us/library/windows/desktop/ms645521(v=vs.85).aspx


Calls the default window procedure to provide default processing for any window messages that an application does not process. 

A windows defined dialog proc (does nothing) 

http://msdn.microsoft.com/en-us/library/windows/desktop/ms633572(v=vs.85).aspx DefWindowProc function


About Messages and Message Queues

http://msdn.microsoft.com/en-us/library/windows/desktop/ms644927(v=vs.85).aspx


更改控件的 Tab 键顺序:http://msdn.microsoft.com/zh-cn/library/csz6b8x8.aspx

针对非控制台程序:打印信息到调试器的输出窗口 OutputDebugString


你可能感兴趣的:(Windows API使用记录)