PDA

Click to See Complete Forum and Search --> : api definitions


mehmetadumlu
Jan 22nd, 2002, 06:13 AM
some of the definitions i want to use doesnt exist in api text viewer. for example i have seen em_wordwrapmode or em_streamin in msdn but there were no further information on them. so is there a progrmmatic way to find out those definitions or is there a tutorial or is my api textviewer out of date?

MerrionComputin
Jan 22nd, 2002, 07:14 AM
Your api viewer file is out of date.

Go to MSDN (http://msdn.microsoft.com) and download the Platform SDK files. These have the latest C++ header files for Windows in which all these constants are defined.

For your info:
EM_STREAMIN is defined in Richedit.h as:
#define EM_STREAMIN (WM_USER + 73)

since Public Const WM_USER = &H400
then Pucblic Const EM_STREAMIN = &H425

HTH,
Duncan

Hack
Jan 22nd, 2002, 09:10 AM
Download the .Bas file from this link. It has a lot of not commonly found constants defined in it.

http://www.vbbox.com/codebox/code/src/modcbrichedit.bas

mehmetadumlu
Jan 22nd, 2002, 03:48 PM
thank you very much for the replies they helped a lot even though i couldnt download (actually couldnt find) the latest platform sdk, the .bas file seems to be great but if anyone can explain me the logic in the addition above i will be enlightened better..