ÔÚwinformÖнâÎöhtml±êÇ©
×î½üÔÚŪ¹«Ë¾µÄϵͳʱÓöµ½Ò»¸öÎÊÌ⣬ÓÐÒ»¸öwinformÒªµ÷ÓÃÍøÕ¾µÄÊý¾Ý¿â£¬Êý¾Ý¿âÖдæµÄÊǾ¹ýeWebEditor´¦Àí¹ýµÄÎÄÕ£¬¶¼´øÓÐhtml±êÇ©£¬µ±Ê±ÏëÓÃÕýÔò±í´ïʽ¹ýÂ˵ô£¬µ«ÊÇ»¹ÊÇ·ÅÆúÁËÔÒòÓÐÈý£º1.ÎÒ¶ÔÕýÔò±í´ïʽÁ˽âºÜÉÙ£»2.Ëä˵ÎÒ¿ÉÒÔÏÖѧÕýÔò±í´ïʽ£¬µ«ÊÇʵÏÖÆðÀ´Ò²ÊǺÜÂé·³µÄ£»3.Èç¹û¹ýÂ˵ôµÄ»°ÎÄÕµĸñʽ¾ÍûÓÐÁË¡£ÓÚÊÇÉÏÍøÕÒÕâ·½ÃæµÄ¿Ø¼þ£¬²»ÊǺÜÀíÏë¡£×îºóÔÚ°Ù¶ÈÖªµÀÉÏ100·ÖÐüÉÍÕÒµ½Á˽â¾ö·½·¨£¬ºÜ¼òµ¥µÄ£¬²»ÐèÒªµÚÈý·½¿Ø¼þ£¬Ö±½ÓÓÃWebBrower¾ÍÄÜʵÏÖ£¬Óõ½ÁËWebBrower.DocumentTextÊôÐÔ£¬±ÈÈçÒªÏÔʾµÄhtml´úÂëÈçÏ£ºadc</br>def,Ôò¿ÉÓÃÏÂÃæ·½·¨½âÎöÏÔʾ£º
string str = "abc</br>def"; //ʵ¼ÊÊÇÊý¾Ý¿âÖеÄÎÄÕÂ
WebBrower.DocumentText = str; //ÏÔʾ
Ïà¹ØÎĵµ£º
´ÓÍøÉϵÄSThtmlDialogÀý×ӸĹýÀ´µÄ£¬ÔÚMFC³ÌÐòÖÐÏÔʾHTMLÍøÒ³µÄ·½·¨
1¡¢ÔÚÊÓͼÀàÖÐÌí¼ÓÍ·Îļþ#include <Htmlctrl.h>
2¡¢ÔÚÊÓͼͷÎļþÖÐÌí¼Ó±äÁ¿
HWND m_hwndHtml;//HTML¿Ø¼þ´°¿Ú¾ä±ú
HINSTANCE m_HtmlViewInstance;//¶¯Ì¬Á´½Ó¿â×°ÔØ¾ä±ú
²¢¸³Óè³õʼֵm_HtmlViewInstance = 0;
3¡¢´´½¨ÍøÒ³¿Ø¼þ, ......
http://blog.stchur.com/2010/01/15/programmatically-clicking-a-link-in-javascript/
×÷Õß½éÉÜÈçºÎÓÃjavascriptÄ£ÄâÓû§ÕæÊµµÄµã»÷¡£
Õâ¿´ÉÏÈ¥ºÃÏñºÜ¼òµ¥£¬¶ÁÈ¡hrefÈ»ºóÀûÓÃwindow.location.href²»¾ÍÐÐÁËÂð£¿
Æäʵ²»È»£¬ÔÒòÔÚÓÚÏÖÔÚµÄÍøÒ³ÀïµÄÁ´½Ó²»µ¥ÊÇÖ±½Ó¶ÁÈ¡hrefÊôÐÔÈ»ºóÌø×ªµ½ÁíÒ»¸öÒ³Ãæ£¬ÓÐЩÁ´½Ó¿ÉÒÔ¼ÓÉÏevent ......
ÓÐ關html´°體¿ò¼ÜµÄ問題£¬Èç¹ûÏëÒª實現ÔÚÒ»個畫ÃæÖзָ體£¬並ÇÒͨ過點擊ÆäÖеÄÒ»個´°體£¬鏈½Ó內ÈÝÖÁͬһ個畫ÃæÖеÄÁíÒ»個´°體¡£¾ÍÐèҪʹÓÃ<frameset>與<frame>µÄ ......
HTML±í¸ñºÜÈÝÒ×ÉÏÊÖ£¬Ò»¶Ñtr¼Ótd¾Í¿ÉÒÔÏÔʾһÕűí¸ñÁË¡£¸´ÔÓÒ»µã¾ÍÊÇÔÙ¼ÓÉÏth£¬colgroup£¬tbody£¬tfooter£¬captionÖ®Àà¡£ÕâЩHTMLÀïÃæµÄ¸÷ÖÖÔªËØµÄÈ·¼ÓÇ¿Á˱í¸ñµÄʵÓÃÐÔºÍÓïÒ廯£¬µ«table±¾Éí¾ÍÓкܴóѧÎÊŶ£¬±Ï¾¹ÊÇÕû¸ö±í¸ñµÄ¸ù°¡£¡
½ñÌìÏÂÃæÒª×ܽá°üº¬¶Ôtable±¾ÉíµÄÊôÐÔ¹éÄɺÍtableרÓõÄCSS±È½Ï£º
attributes VS CSS ......
´°¿Úʼþ (Window Events)
½öÔÚ body ºÍ frameset ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onload ½Å±¾ µ±ÎĵµÔØÈëʱִÐнű¾
onunload ½Å±¾ µ±ÎĵµÐ¶ÔØÊ±Ö´Ðнű¾
±íµ¥ÔªËØÊ¼þ (Form Element Events)
½öÔÚ±íµ¥ÔªËØÖÐÓÐЧ¡£
ÊôÐÔ Öµ ÃèÊö
onpropertychange ½Å±¾ µ±Îı¾ÄÚÈݸıäʱִÐнű¾
onchange ½Å± ......