15,900,725 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by lin98666521 (Top 25 by date)
lin98666521
7-Jan-13 2:14am
View
FireViewChange();
i need to use "FireViewChange();" after SetExtent().
lin98666521
6-Dec-12 0:13am
View
i have Solve the problem by myself.
i find that,the color and size of the bullets are the same to the last "\r",so i remeber the position ,and find the first "\r" from the position to set it color and size.
if(imInfo.iLastStart!=0)
{
SetSel(imInfo.iLastStart,imInfo.iLastStart+1);
SetParaFormat(pf2);
FINDTEXTEXW ft;//
ft.chrg.cpMin = imInfo.iLastStart;
ft.chrg.cpMax = -1;
ft.lpstrText=_T("\r");
long n = FindText(FR_DOWN,ft);
if(n!=-1)
{
SetSel( n,n+1);
SetWordCharFormat( cfPoint );
}
imInfo.iLastStart = 0;
}
lin98666521
26-Nov-12 20:49pm
View
hi,thank you very much,it is my oversight, i set pf2.cbSize = sizeof(PARAFORMAT2),it work well.
you shall submit your solution,i will take it.
lin98666521
26-Nov-12 20:35pm
View
oh,i do not set pf2.cbSize = sizeof(PARAFORMAT2),but i have tried using dyspacebefore,it do not work.
lin98666521
8-Nov-12 3:27am
View
thanks,I understand.
lin98666521
7-Nov-12 22:22pm
View
hi,i try to use Gdiplus::FontFamily::GenericSansSerif(),when the text is english it work well and if the text is Chinese,it look like "□□□□□□□□". i think that the font do not Support Chinese. do you have another way to Other methods to solve the problem.
lin98666521
7-Nov-12 21:50pm
View
hi,i try to use Gdiplus::FontFamily::GenericSansSerif(),when the text is english it work well and if the text is Chinese,it look like "□□□□□□□□". i think that the font do not Support Chinese. do you have another way to Other methods to solve the problem.
lin98666521
7-Nov-12 7:53am
View
thanks,I knew very little about the gdiplus and I did not take effective measures to the Specific system. i think is my mistake.
Tomorrow I will try to use "Gdiplus::FontFamily::GeneriySansSerif()"
i hope it can work well.
lin98666521
7-Nov-12 0:31am
View
FontFamilyNotFound = 14
i get the error code is 14(FontFamilyNotFound);
lin98666521
7-Nov-12 0:17am
View
hi,i do that as what you tell me.
you are right, fontFamily.GetLastStatus() is wrong,i make a program to test,
they all get error,such as fontFamily(_T("宋体")); fontFamily(_T("Arial"));
fontFamily(_T("微软雅黑"));.
do you have other way to make sure fontfamily to be right?
lin98666521
6-Nov-12 20:14pm
View
thanks,i do it
lin98666521
6-Nov-12 9:11am
View
I did not mention problem here . i do not know i can Improve question.
my english is so so,Barely able to understand, Now,i know,I will pay attention to.
lin98666521
6-Nov-12 9:08am
View
can i delete my useless solusion?
lin98666521
6-Nov-12 9:06am
View
Deleted
I did not mention problem here . i do not know i can Improve question.
my nnglish is so so,Barely able to understand, Now,i know,I will pay attention to
lin98666521
6-Nov-12 9:02am
View
thanks
i will try . It is now ten p.m. in my country,Tomorrow I will try to check them on that computer.
lin98666521
6-Nov-12 8:43am
View
sorry,i do not realize that my requests had been solution. i will remeber this,and Improve solution does not depend on this way .
lin98666521
6-Nov-12 8:39am
View
i think that the fontFamily maybe wrong,but i think This is a small possibility.The Function DrawText work well,it also use the fontfamily "宋体" in my code.
lin98666521
6-Nov-12 8:32am
View
sNext and sNext2,they all Equal to 2.
lin98666521
5-Nov-12 9:06am
View
thanks very much.
I try to solve the problem.
I think that Your answer is right.
lin98666521
10-Jul-12 3:49am
View
oh,i try to use it,if i encountered a problem,i will ask you.
thanks very much.
lin98666521
10-Jul-12 1:21am
View
Thanks,i try it , it work,i have a problem,although the effect of aero is right,but the shadow Still not. i want the shadow around the window.
lin98666521
14-Mar-12 0:46am
View
hi,thank you for your help very much.
Although i do not find the way to Release the memory Immediately,but i find a way to solute my trouble. before i close my window,i use the func named "Navigate" to open a blank url,than webbrowser will release the IE cache. maybe the way just can solute my Problem.
thanks again!
lin98666521
13-Mar-12 21:37pm
View
now,if you re-open the window in my application no extra memory is allocated,but i want to Release the memory Immediately, How should I do?
lin98666521
13-Mar-12 10:09am
View
i checking available memory by taskhost.
i destroy my window,Half an hour later the memory do not change.
lin98666521
13-Mar-12 9:17am
View
thank you for your replication i Improve question,i hope you can help me.
Show More