 |
|
 |
First thanks your code , it's very useful for me. thank you very much
when i got the html information, i want to show it on the other dialog,but it doesn't work
just like m_strShowMsg.SetDocumentHTML(strNewString);
i can't show the strNewString information(html information)
can u show me how to use the SetDocumentHTML or how to show it on the other dialog?
thank you very much
|
|
|
|
 |
|
|
 |
|
 |
hi everybody.
on my computer it returns the data in utf-16 which has 2 bytes for each character
WideCharToMultiByte(...) the 4th parameter is the number of characters in the string and not the bytelength!
it s in:
HRESULT __stdcall CHtmlEditCtrl2::CStreamOnCString::Write(const void *pv, ULONG cb, ULONG *pcbWritten)
int charcount = cb / 2;
UINT nCharsToSkip = flags & IS_TEXT_UNICODE_SIGNATURE ? 1 : 0;
unsigned int nChars = WideCharToMultiByte(CP_ACP, 0, (wchar_t*)pw, charcount,
NULL, 0, NULL, NULL);
char *pBuff = new char[nChars];
if (pBuff)
{
WideCharToMultiByte(CP_ACP, 0, (wchar_t*)pw, charcount, pBuff, nChars, NULL , NULL);
AppendToCString(m_strStream, pBuff+nCharsToSkip, nChars-nCharsToSkip);
if (pcbWritten)
*pcbWritten = cb;
}
insert charcount and fix 2 x WideCharToMultiByte
greetings
Schmurgulum
|
|
|
|
 |
|
 |
I downloaded a sample project from Microsoft and tried to add a "Find and Replace" dialog. I assumed this would be simple because adding the "Find" dialog just required adding this entry to the editing map:
DHTMLEDITING_CMD_ENTRY(ID_EDIT_FIND, IDM_FIND)
But when I added this to the editing map:
DHTMLEDITING_CMD_ENTRY(ID_EDIT_REPLACE, IDM_REPLACE)
The menu "Replace" menu item was never enabled. The code that displays the menu calls QueryStatus(IDM_REPLACE) and the status flag always indicates that "Replace" should be disabled.
Can you tell my why the replace command is always disabled? Is there something I have to add to make the application enable and handle this command ID?
Regards,
Doug Sherlock
|
|
|
|
 |
|
 |
Can we give tool tip on selected item in Html
|
|
|
|
 |
|
 |
Hi experts..please can u help me in this task... i got strucked in this so if u give solution i will appreciate you..
In my project i need to add html editing text box which supports basic tags formatting..i found browsing which is not usefull for me and also i found similar component(.dll) in .NET which is supported in native C++.
if you have any solution pleas suggest . waiting for your solution
shrikanth G C
VC++ Developer
ceTeSoft
|
|
|
|
 |
|
 |
well - this article described just that - HTML edit control.
Not sure what more do you need.
|
|
|
|
 |
|
 |
i write code like this:
SetAutoURLDetectMode(false);
but no changes,thanks for help!
|
|
|
|
 |
|
 |
just put this line in OnNavigateComplete2()
|
|
|
|
 |
|
 |
I tried to use IDM_APPLYHEADING1, IDM_APPLYHEADING2, IDM_APPLYHEADING3, but no effect.
long CHtmlEditCtrl2::QueryStatus(long cmdID)
OLECMD ocmd = {IDM_APPLYHEADING1, 0};
m_pCmdTarg->QueryStatus(&CGID_MSHTML, 1, &ocmd, NULL) != S_OKAny one could help me? Thanks.
P.S. there is another HTML editor article on codeproject, it use "<font size=6><b>" to replace H1 etc... so are H1, H2, H3 big problems?
|
|
|
|
 |
|
 |
Hello
I have some problem with GetHTMLDocument, I have sometime a string after the correct html-String
not always
An idea ??
ShowSource is correct
|
|
|
|
 |
|
 |
CHtmlEditCtrl2::CStreamOnCString::Write(...)
unsigned int buffer_size = cb;
wchar_t *pBuffer = new wchar_t[buffer_size+1];
if (pBuffer)
{
int nLen = (unsigned int)MultiByteToWideChar(m_nCodePage, 0, (LPCSTR)pv, cb, pBuffer, buffer_size);
pBuffer[nLen] = 0; // **** !!! Should add this !!! ****
if (buffer_size >= (UINT) nLen)
{
//IZTOCHECK m_strStream.Append(pBuffer, buffer_size);
AppendToCString(m_strStream, pBuffer, buffer_size);
}
}
delete [] pBuffer;
|
|
|
|
 |
|
 |
Hi
Thanks for spotting a bug!
Here is code snipet that I think is better:
const unsigned int uiAsciiLen = cb;
const unsigned int uiUnicodeLen = MultiByteToWideChar(CP_ACP, 0, (LPCSTR)pv, uiAsciiLen, NULL, NULL);
wchar_t *pBuffer = new wchar_t[uiUnicodeLen + 1];
if (pBuffer)
{
memset( pBuffer, 0, sizeof(wchar_t) * (uiUnicodeLen + 1));
MultiByteToWideChar(CP_ACP, 0, (LPCSTR)pv, cb, pBuffer, uiUnicodeLen + 1);
AppendToCString(m_strStream, pBuffer, uiUnicodeLen);
}
delete [] pBuffer;
Problem with your solution is that "int nLen" can be bigger than "buffer_size+1" so you can overwrite some heap memory!
Let me know if this works OK with your code.
Kind regards,
Irek
|
|
|
|
 |
|
 |
Can you provide instruction for apply heading style, e.g. H1, H2 etc?
I tried with command "IDM_APPLYHEADING1", but not worked.
Any prompt or suggestion?
and Thanks for your great codes again.
|
|
|
|
 |
|
 |
Hello
i have downloadd your code and it runs success fully , i just want to know if make a dll of your code and use it another appliation so is it possible to make a DLL ,because you can use active x control(Microsoft Web Browser)
previously i had also make a dll of such program which are using ActiveX control
would you please tell me the right answer
kindly look into the matter
thanks
|
|
|
|
 |
|
 |
This applicatino is really very useful to me. Thanks for that. I created a Button on IE toolbar using kbbar sample from microsoft. I am using C++ 6.0 . I would like to call this application when user click on IE toolbar button. I cannot call this application as exe. I would like to start this application by calling any method of this application.
Anybody can plz provide some guidance or any way to do this.
Thanks a lot.
|
|
|
|
 |
|
 |
I was looking for this type of applicatoin only. You done great job. I m just getting this 2 errors. I will be highly thankful if u can solve this. When I rebuild all I am getting following error.
svcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/HtmlEditor.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
HtmlEditor.exe - 2 error(s), 0 warning(s)
Waiting for any reply eagerly. Thanks in advance.
|
|
|
|
 |
|
 |
I got the solution. Thanks a lot for great job.
Cause:
The linker is looking for the entry point for a console application, but the application is being compiled and linked as a windows application (i.e. not a console application).
This error has been observed after changing the project settings from using MBCS to UNICODE characters.
Remedy:
Under the project settings, under the ‘Link’ tab, category ‘output’, set the ‘Entry-point symbol’ to ‘wWinMainCRTStartup’.
After this remedy its solved!!
|
|
|
|
 |
|
 |
Hai,
Is there any chance for finding whether the focus is on the webbrowser. Such that we can continously send messages on to the browser?
Thanks in advance,
Gangadhar
|
|
|
|
 |
|
 |
Hai,
The application helped me a lot. But I was not find whether the focus is on the webbrowser when i click on some other button ? Is there any solution to find the focus?
|
|
|
|
 |
|
 |
Hai,
I have also faced the same problem and for this we have to manipulate the following file
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\Include\MSHTMCID.H
In this we have to add new ID values and i have indicated the difference with New additions gangadhar --start and New additions gangadhar --end .
This solution is not my own but i was able to find a clue as i have used msdn 2005 where u find them and u cannot find them in the old msdn.
Anyway i hope so this will help u
-----This is the above file
//*********************************************************************
//* Microsoft Windows **
//* Copyright(c) Microsoft Corp., 1996-1998 **
//*********************************************************************
#ifndef __mshtmcid_h__
#define __mshtmcid_h__
//----------------------------------------------------------------------------
//
// MSHTML Command IDs
//
//----------------------------------------------------------------------------
#define IDM_UNKNOWN 0
#define IDM_ALIGNBOTTOM 1
#define IDM_ALIGNHORIZONTALCENTERS 2
#define IDM_ALIGNLEFT 3
#define IDM_ALIGNRIGHT 4
#define IDM_ALIGNTOGRID 5
#define IDM_ALIGNTOP 6
#define IDM_ALIGNVERTICALCENTERS 7
#define IDM_ARRANGEBOTTOM 8
#define IDM_ARRANGERIGHT 9
#define IDM_BRINGFORWARD 10
#define IDM_BRINGTOFRONT 11
#define IDM_CENTERHORIZONTALLY 12
#define IDM_CENTERVERTICALLY 13
#define IDM_CODE 14
#define IDM_DELETE 17
#define IDM_FONTNAME 18
#define IDM_FONTSIZE 19
#define IDM_GROUP 20
#define IDM_HORIZSPACECONCATENATE 21
#define IDM_HORIZSPACEDECREASE 22
#define IDM_HORIZSPACEINCREASE 23
#define IDM_HORIZSPACEMAKEEQUAL 24
#define IDM_INSERTOBJECT 25
#define IDM_MULTILEVELREDO 30
#define IDM_SENDBACKWARD 32
#define IDM_SENDTOBACK 33
#define IDM_SHOWTABLE 34
#define IDM_SIZETOCONTROL 35
#define IDM_SIZETOCONTROLHEIGHT 36
#define IDM_SIZETOCONTROLWIDTH 37
#define IDM_SIZETOFIT 38
#define IDM_SIZETOGRID 39
#define IDM_SNAPTOGRID 40
#define IDM_TABORDER 41
#define IDM_TOOLBOX 42
#define IDM_MULTILEVELUNDO 44
#define IDM_UNGROUP 45
#define IDM_VERTSPACECONCATENATE 46
#define IDM_VERTSPACEDECREASE 47
#define IDM_VERTSPACEINCREASE 48
#define IDM_VERTSPACEMAKEEQUAL 49
#define IDM_JUSTIFYFULL 50
#define IDM_BACKCOLOR 51
#define IDM_BOLD 52
#define IDM_BORDERCOLOR 53
#define IDM_FLAT 54
#define IDM_FORECOLOR 55
#define IDM_ITALIC 56
#define IDM_JUSTIFYCENTER 57
#define IDM_JUSTIFYGENERAL 58
#define IDM_JUSTIFYLEFT 59
#define IDM_JUSTIFYRIGHT 60
#define IDM_RAISED 61
#define IDM_SUNKEN 62
#define IDM_UNDERLINE 63
#define IDM_CHISELED 64
#define IDM_ETCHED 65
#define IDM_SHADOWED 66
#define IDM_FIND 67
#define IDM_SHOWGRID 69
#define IDM_OBJECTVERBLIST0 72
#define IDM_OBJECTVERBLIST1 73
#define IDM_OBJECTVERBLIST2 74
#define IDM_OBJECTVERBLIST3 75
#define IDM_OBJECTVERBLIST4 76
#define IDM_OBJECTVERBLIST5 77
#define IDM_OBJECTVERBLIST6 78
#define IDM_OBJECTVERBLIST7 79
#define IDM_OBJECTVERBLIST8 80
#define IDM_OBJECTVERBLIST9 81
#define IDM_OBJECTVERBLISTLAST IDM_OBJECTVERBLIST9
#define IDM_CONVERTOBJECT 82
#define IDM_CUSTOMCONTROL 83
#define IDM_CUSTOMIZEITEM 84
#define IDM_RENAME 85
#define IDM_IMPORT 86
#define IDM_NEWPAGE 87
#define IDM_MOVE 88
#define IDM_CANCEL 89
#define IDM_FONT 90
#define IDM_STRIKETHROUGH 91
#define IDM_DELETEWORD 92
#define IDM_FOLLOW_ANCHOR 2008
#define IDM_INSINPUTIMAGE 2114
#define IDM_INSINPUTBUTTON 2115
#define IDM_INSINPUTRESET 2116
#define IDM_INSINPUTSUBMIT 2117
#define IDM_INSINPUTUPLOAD 2118
#define IDM_INSFIELDSET 2119
#define IDM_PASTEINSERT 2120
#define IDM_REPLACE 2121
#define IDM_EDITSOURCE 2122
#define IDM_BOOKMARK 2123
#define IDM_HYPERLINK 2124
#define IDM_UNLINK 2125
#define IDM_BROWSEMODE 2126
#define IDM_EDITMODE 2127
#define IDM_UNBOOKMARK 2128
#define IDM_TOOLBARS 2130
#define IDM_STATUSBAR 2131
#define IDM_FORMATMARK 2132
#define IDM_TEXTONLY 2133
#define IDM_OPTIONS 2135
#define IDM_FOLLOWLINKC 2136
#define IDM_FOLLOWLINKN 2137
#define IDM_VIEWSOURCE 2139
#define IDM_ZOOMPOPUP 2140
// IDM_BASELINEFONT1, IDM_BASELINEFONT2, IDM_BASELINEFONT3, IDM_BASELINEFONT4,
// and IDM_BASELINEFONT5 should be consecutive integers;
//
#define IDM_BASELINEFONT1 2141
#define IDM_BASELINEFONT2 2142
#define IDM_BASELINEFONT3 2143
#define IDM_BASELINEFONT4 2144
#define IDM_BASELINEFONT5 2145
#define IDM_HORIZONTALLINE 2150
#define IDM_LINEBREAKNORMAL 2151
#define IDM_LINEBREAKLEFT 2152
#define IDM_LINEBREAKRIGHT 2153
#define IDM_LINEBREAKBOTH 2154
#define IDM_NONBREAK 2155
#define IDM_SPECIALCHAR 2156
#define IDM_HTMLSOURCE 2157
#define IDM_IFRAME 2158
#define IDM_HTMLCONTAIN 2159
#define IDM_TEXTBOX 2161
#define IDM_TEXTAREA 2162
#define IDM_CHECKBOX 2163
#define IDM_RADIOBUTTON 2164
#define IDM_DROPDOWNBOX 2165
#define IDM_LISTBOX 2166
#define IDM_BUTTON 2167
#define IDM_IMAGE 2168
#define IDM_OBJECT 2169
#define IDM_1D 2170
#define IDM_IMAGEMAP 2171
#define IDM_FILE 2172
#define IDM_COMMENT 2173
#define IDM_SCRIPT 2174
#define IDM_JAVAAPPLET 2175
#define IDM_PLUGIN 2176
#define IDM_PAGEBREAK 2177
#define IDM_PARAGRAPH 2180
#define IDM_FORM 2181
#define IDM_MARQUEE 2182
#define IDM_LIST 2183
#define IDM_ORDERLIST 2184
#define IDM_UNORDERLIST 2185
#define IDM_INDENT 2186
#define IDM_OUTDENT 2187
#define IDM_PREFORMATTED 2188
#define IDM_ADDRESS 2189
#define IDM_BLINK 2190
#define IDM_DIV 2191
#define IDM_TABLEINSERT 2200
#define IDM_RCINSERT 2201
#define IDM_CELLINSERT 2202
#define IDM_CAPTIONINSERT 2203
#define IDM_CELLMERGE 2204
#define IDM_CELLSPLIT 2205
#define IDM_CELLSELECT 2206
#define IDM_ROWSELECT 2207
#define IDM_COLUMNSELECT 2208
#define IDM_TABLESELECT 2209
#define IDM_TABLEPROPERTIES 2210
#define IDM_CELLPROPERTIES 2211
#define IDM_ROWINSERT 2212
#define IDM_COLUMNINSERT 2213
#define IDM_HELP_CONTENT 2220
#define IDM_HELP_ABOUT 2221
#define IDM_HELP_README 2222
#define IDM_REMOVEFORMAT 2230
#define IDM_PAGEINFO 2231
#define IDM_TELETYPE 2232
#define IDM_GETBLOCKFMTS 2233
#define IDM_BLOCKFMT 2234
#define IDM_SHOWHIDE_CODE 2235
#define IDM_TABLE 2236
#define IDM_COPYFORMAT 2237
#define IDM_PASTEFORMAT 2238
#define IDM_GOTO 2239
#define IDM_CHANGEFONT 2240
#define IDM_CHANGEFONTSIZE 2241
#define IDM_INCFONTSIZE 2242
#define IDM_DECFONTSIZE 2243
#define IDM_INCFONTSIZE1PT 2244
#define IDM_DECFONTSIZE1PT 2245
#define IDM_CHANGECASE 2246
#define IDM_SUBSCRIPT 2247
#define IDM_SUPERSCRIPT 2248
#define IDM_SHOWSPECIALCHAR 2249
#define IDM_CENTERALIGNPARA 2250
#define IDM_LEFTALIGNPARA 2251
#define IDM_RIGHTALIGNPARA 2252
#define IDM_REMOVEPARAFORMAT 2253
#define IDM_APPLYNORMAL 2254
#define IDM_APPLYHEADING1 2255
#define IDM_APPLYHEADING2 2256
#define IDM_APPLYHEADING3 2257
#define IDM_DOCPROPERTIES 2260
#define IDM_ADDFAVORITES 2261
#define IDM_COPYSHORTCUT 2262
#define IDM_SAVEBACKGROUND 2263
#define IDM_SETWALLPAPER 2264
#define IDM_COPYBACKGROUND 2265
#define IDM_CREATESHORTCUT 2266
#define IDM_PAGE 2267
#define IDM_SAVETARGET 2268
#define IDM_SHOWPICTURE 2269
#define IDM_SAVEPICTURE 2270
#define IDM_DYNSRCPLAY 2271
#define IDM_DYNSRCSTOP 2272
#define IDM_PRINTTARGET 2273
#define IDM_IMGARTPLAY 2274
#define IDM_IMGARTSTOP 2275
#define IDM_IMGARTREWIND 2276
#define IDM_PRINTQUERYJOBSPENDING 2277
#define IDM_CONTEXTMENU 2280
#define IDM_GOBACKWARD 2282
#define IDM_GOFORWARD 2283
#define IDM_PRESTOP 2284
#define IDM_CREATELINK 2290
#define IDM_COPYCONTENT 2291
#define IDM_LANGUAGE 2292
#define IDM_REFRESH 2300
#define IDM_STOPDOWNLOAD 2301
#define IDM_ENABLE_INTERACTION 2302
#define IDM_LAUNCHDEBUGGER 2310
#define IDM_BREAKATNEXT 2311
#define IDM_INSINPUTHIDDEN 2312
#define IDM_INSINPUTPASSWORD 2313
#define IDM_OVERWRITE 2314
#define IDM_PARSECOMPLETE 2315
#define IDM_HTMLEDITMODE 2316
#define IDM_REGISTRYREFRESH 2317
#define IDM_COMPOSESETTINGS 2318
#define IDM_SHOWALLTAGS 2320
#define IDM_SHOWALIGNEDSITETAGS 2321
#define IDM_SHOWSCRIPTTAGS 2322
#define IDM_SHOWSTYLETAGS 2323
#define IDM_SHOWCOMMENTTAGS 2324
#define IDM_SHOWAREATAGS 2325
#define IDM_SHOWUNKNOWNTAGS 2326
#define IDM_SHOWMISCTAGS 2327
#define IDM_SHOWZEROBORDERATDESIGNTIME 2328
#define IDM_AUTODETECT 2329
#define IDM_SCRIPTDEBUGGER 2330
#define IDM_GETBYTESDOWNLOADED 2331
#define IDM_NOACTIVATENORMALOLECONTROLS 2332
#define IDM_NOACTIVATEDESIGNTIMECONTROLS 2333
#define IDM_NOACTIVATEJAVAAPPLETS 2334
////New additions - Gangadhar - START
#define IDM_NOFIXUPURLSONPASTE 2335
#define IDM_EMPTYGLYPHTABLE 2336
#define IDM_ADDTOGLYPHTABLE 2337
#define IDM_REMOVEFROMGLYPHTABLE 2338
#define IDM_REPLACEGLYPHCONTENTS 2339
//New additions - Gangadhar - END
#define IDM_SHOWWBRTAGS 2340
#define IDM_PERSISTSTREAMSYNC 2341
#define IDM_SETDIRTY 2342
//New additions - Gangadhar - START
#define IDM_RUNURLSCRIPT 2343
#ifdef IE5_ZOOM
#define IDM_ZOOMRATIO 2344
#define IDM_GETZOOMNUMERATOR 2345
#define IDM_GETZOOMDENOMINATOR 2346
#endif
#define IDM_DIRLTR 2350
#define IDM_DIRRTL 2351
#define IDM_BLOCKDIRLTR 2352
#define IDM_BLOCKDIRRTL 2353
#define IDM_INLINEDIRLTR 2354
#define IDM_INLINEDIRRTL 2355
#define IDM_ISTRUSTEDDLG 2356
#define IDM_INSERTSPAN 2357
#define IDM_LOCALIZEEDITOR 2358
#define IDM_SAVEPRETRANSFORMSOURCE 2370
#define IDM_VIEWPRETRANSFORMSOURCE 2371
#define IDM_SCROLL_HERE 2380
#define IDM_SCROLL_TOP 2381
#define IDM_SCROLL_BOTTOM 2382
#define IDM_SCROLL_PAGEUP 2383
#define IDM_SCROLL_PAGEDOWN 2384
#define IDM_SCROLL_UP 2385
#define IDM_SCROLL_DOWN 2386
#define IDM_SCROLL_LEFTEDGE 2387
#define IDM_SCROLL_RIGHTEDGE 2388
#define IDM_SCROLL_PAGELEFT 2389
#define IDM_SCROLL_PAGERIGHT 2390
#define IDM_SCROLL_LEFT 2391
#define IDM_SCROLL_RIGHT 2392
#define IDM_MULTIPLESELECTION 2393
#define IDM_2D_POSITION 2394
#define IDM_2D_ELEMENT 2395
#define IDM_1D_ELEMENT 2396
#define IDM_ABSOLUTE_POSITION 2397
#define IDM_LIVERESIZE 2398
#define IDM_ATOMICSELECTION 2399
#define IDM_AUTOURLDETECT_MODE 2400
#define IDM_IE50_PASTE 2401
#define IDM_IE50_PASTE_MODE 2402
#define IDM_GETIPRINT 2403
#define IDM_DISABLE_EDITFOCUS_UI 2404
#define IDM_RESPECTVISIBILITY_INDESIGN 2405
#define IDM_CSSEDITING_LEVEL 2406
#define IDM_UI_OUTDENT 2407
#define IDM_UPDATEPAGESTATUS 2408
#define IDM_IME_ENABLE_RECONVERSION 2409
#define IDM_KEEPSELECTION 2410
#define IDM_UNLOADDOCUMENT 2411
#define IDM_OVERRIDE_CURSOR 2420
#define IDM_PEERHITTESTSAMEINEDIT 2423
#define IDM_TRUSTAPPCACHE 2425
#define IDM_BACKGROUNDIMAGECACHE 2430
//New additions - Gangadhar - END
#define IDM_MIMECSET__FIRST__ 3609
#define IDM_MIMECSET__LAST__ 3640
#define IDM_MENUEXT_FIRST__ 3700
#define IDM_MENUEXT_LAST__ 3732
#define IDM_MENUEXT_COUNT 3733
//New additions - Again Gangadhar - START
#define IDM_DEFAULTBLOCK 6046
#define IDM_NEW_TOPLEVELWINDOW 7050
#define IDM_PRESERVEUNDOALWAYS 6049
#define IDM_PERSISTDEFAULTVALUES 7100
#define IDM_PROTECTMETATAGS 7101
#define IDM_GETFRAMEZONE 6037
#define IDM_FIRE_PRINTTEMPLATEUP 15000
#define IDM_FIRE_PRINTTEMPLATEDOWN 15001
#define IDM_SETPRINTHANDLES 15002
//New additions - Again Gangadhar - END
// Commands mapped from the standard set. We should
// consider deleting them from public header files.
#define IDM_OPEN 2000
#define IDM_NEW 2001
#define IDM_SAVE 70
#define IDM_SAVEAS 71
#define IDM_SAVECOPYAS 2002
#define IDM_PRINTPREVIEW 2003
#define IDM_PRINT 27
#define IDM_PAGESETUP 2004
#define IDM_SPELL 2005
#define IDM_PASTESPECIAL 2006
#define IDM_CLEARSELECTION 2007
#define IDM_PROPERTIES 28
#define IDM_REDO 29
#define IDM_UNDO 43
#define IDM_SELECTALL 31
#define IDM_ZOOMPERCENT 50
#define IDM_GETZOOM 68
#define IDM_STOP 2138
#define IDM_COPY 15
#define IDM_CUT 16
#define IDM_PASTE 26
// Defines for IDM_ZOOMPERCENT
#define CMD_ZOOM_PAGEWIDTH -1
#define CMD_ZOOM_ONEPAGE -2
#define CMD_ZOOM_TWOPAGES -3
#define CMD_ZOOM_SELECTION -4
#define CMD_ZOOM_FIT -5
#endif
Bonda V N S Gangadhar Rao
|
|
|
|
 |
|
 |
Well when I first time built the program I got some 20 errors as follows.
D:\...\HtmlEditCtrl2.cpp(748) : error C2065: 'IDM_IE50_PASTE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(768) : error C2065: 'IDM_1D_ELEMENT' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(773) : error C2065: 'IDM_2D_ELEMENT' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(788) : error C2065: 'IDM_GETFRAMEZONE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(793) : error C2065: 'IDM_CSSEDITING_LEVEL' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(854) : error C2065: 'IDM_ADDTOGLYPHTABLE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(860) : error C2065: 'IDM_EMPTYGLYPHTABLE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(998) : error C2065: 'IDM_ABSOLUTE_POSITION' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1010) : error C2065: 'IDM_2D_POSITION' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1015) : error C2065: 'IDM_ATOMICSELECTION' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1020) : error C2065: 'IDM_AUTOURLDETECT_MODE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1025) : error C2065: 'IDM_DISABLE_EDITFOCUS_UI' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1030) : error C2065: 'IDM_IE50_PASTE_MODE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1035) : error C2065: 'IDM_LIVERESIZE' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1040) : error C2065: 'IDM_MULTIPLESELECTION' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1045) : error C2065: 'IDM_OVERRIDE_CURSOR' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1050) : error C2065: 'IDM_RESPECTVISIBILITY_INDESIGN' : undeclared identifier
D:\...\HtmlEditCtrl2.cpp(1627) : error C2039: 'InlineIsEqualGUID' : is not a member of '`global namespace''
D:\...\HtmlEditCtrl2.cpp(1628) : error C2039: 'InlineIsEqualGUID' : is not a member of '`global namespace''
D:\...\HtmlEditCtrl2.cpp(1629) : error C2039: 'InlineIsEqualGUID' : is not a member of '`global namespace''
Please help me with the same in overcoming them.
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
This control is very nice but I would like to add a spell checker.
Does any one have some code?
Thanks,
Sean
|
|
|
|
 |