user-0 提问: 请问C可以用QT做GUI吗?我想学C写文本编辑器，除了用API还有其他方法吗?

回复:
user: user-1
content: RegMpad: MDI Notepad Sample  Click to open or copy the files for the RegMpad sample.  This sample demonstrates how to use the Multiple Document Interface (MDI) functions to create an MDI notepad.  RegDB.c implements the semantics of the registry interface for this application. The visible interfaces and data structures are defined in RegDB.h.  The NT Registry is an object database consisting of keys and values. Keys have names and may contain other keys and values. A value is a name paired with a data object and a data type. The keys in the registry are analogous to the directories in a file system. In that vein the values are analogous to files.  Access to a key and its associated set of values is mediated by a key handle. Four key handles are given as predefined constants. Those handles correspond to the roots of key trees which have special significance. Handles for the other keys in the registry database may be constructed via the Registry's Open and Create interfaces using an existing key handle and a relative path string.  Building SDK Samples   This sample uses the following keywords:  _alloca; _lclose; _llseek; _lread; _mbschr; _mbslen; _mbsncmp; aboutdlgproc; addaccessallowedace; addfile; alreadyopen; bringwindowtotop; changefile; charnext; charprev; charupper; checkdlgbutton; closeallchildren; closehandle; commandhandler; createappkeys; createmutex; defframeproc; deletedc; dialogbox; dialogboxparam; dlgdirlist; dlgdirselectex; enablemenuitem; enddialog; equalsid; escape; fileexists; find; finddlgproc; findnext; findprev; freelibrary; freesid; get_em_setsel_mps; get_wm_command_cmd; get_wm_command_hwnd; get_wm_command_mps; get_wm_mdiactivate_factivate; getcmdline; getcommandline; getcurrentprocess; getcurrentthread; getcurrentuserinfo; getdevicecaps; getdlgitem; getdlgitemtext; getfilename; getinitializationdata; getlasterror; getmenu; getprinterdc; gettextextentpoint; gettokeninformation; getwindow; getwindowlong; getwindowtext; getwindowtextlength; getwindowword; id; initializeacl; initializeapplication; initializeinstance; initializesecuritydescriptor; inituser; installapp; isdbcsleadbyte; isdlgbuttonchecked; iswild; loadconfiguration; loadcursor; loadfile; loadicon; loadlibrary; loadstring; local_findtext; localalloc; localfree; locallock; localrealloc; localunlock; lstrcpy; lstrlen; makeintresource; makelong; messagebox; mperror; mpframewndproc; mpmdichildwndproc; myreadfile; open; openfile; openprocesstoken; openthreadtoken; printdlgproc; printfile; querycloseallchildren; queryclosechild; realslowcompare; regclosekey; regcreatekeyex; regdeletekey; regdeletevalue; regflushkey; registerclass; regopenkeyex; regqueryvalueex; regsetvalueex; releasemutex; runningasadministrator; saveasdlgproc; saveconfiguration; savefile; selectfile; senddlgitemmessage; sendmessage; setdlgitemtext; setsecuritydescriptordacl; setsecuritydescriptorowner; setwindowlong; setwindowword; setwrap; showwindow; storeappconfig; strcpy; unreferenced_parameter; waitforsingleobject; winmain; wsprintf

user: user-1
content: MSDN98_1.ISO http://pan.baidu.com/s/1dDF41ix,  MSDN98_2.ISO http://pan.baidu.com/s/1bnGo0Vl 参考MSDN98中自带的相关例子代码。

user: user-1
content: 引用 4 楼 yyxgs 的回复:[quote=引用 3 楼 zhao4zhong1 的回复:] 参考Linux下vi的源代码 ？  我想做windows下的[/quote] 参考Notepad++源代码。

user: user-0
content: 引用 5 楼 zhao4zhong1 的回复:[quote=引用 4 楼 yyxgs 的回复:] [quote=引用 3 楼 zhao4zhong1 的回复:] 参考Linux下vi的源代码 ？  我想做windows下的[/quote] 参考Notepad++源代码。[/quote]   你上次就是这么说的，我弄了一半天，还是看不了..

user: user-1
content: 参考Linux下vi的源代码 ？

user: user-0
content: 引用 1 楼 user-2 的回复:文本编辑器就那么点菜单，爱用什么用什么。 和编辑器的功能相比，界面不算什么。   我是初学者，不是C该怎么才能做界面?

user: user-0
content: 引用 3 楼 zhao4zhong1 的回复:参考Linux下vi的源代码 ？  我想做windows下的

user: user-2
content: 文本编辑器就那么点菜单，爱用什么用什么。 和编辑器的功能相比，界面不算什么。