Click here to Skip to main content
15,115,119 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUse Manifest to identifies the privilege level. Pin
aangerma27-Jun-10 3:13
Memberaangerma27-Jun-10 3:13 
AnswerRe: Use Manifest to identifies the privilege level. Pin
KarstenK27-Jun-10 22:29
mveKarstenK27-Jun-10 22:29 
GeneralRe: Use Manifest to identifies the privilege level. Pin
aangerma27-Jun-10 22:54
Memberaangerma27-Jun-10 22:54 
GeneralRe: Use Manifest to identifies the privilege level. Pin
KarstenK27-Jun-10 23:51
mveKarstenK27-Jun-10 23:51 
QuestionIs it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage? Pin
includeh1026-Jun-10 19:12
Memberincludeh1026-Jun-10 19:12 
AnswerRe: Is it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage? Pin
KarstenK27-Jun-10 22:43
mveKarstenK27-Jun-10 22:43 
AnswerBarcode Application Usage [was: Re: Is it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage?] Pin
gvMadhav24-Jul-10 18:54
MembergvMadhav24-Jul-10 18:54 
QuestionA RichEdit without any borders [Solved] Pin
Rozis26-Jun-10 7:50
MemberRozis26-Jun-10 7:50 
I'm trying to create a RichEdit without any borders tried to set off ES_SUNKEN, WS_EX_CLIENTEDGE but nothing works: it keeps coming with that ugly sunken border. Has anyone a clue, or better, an example in C or C++?

PS. of cource ES_MULTILINE,ES_AUTOHSCROLL,ES_AUTOVSCROLL are on...

Thanks in advance...

Rozis

[Update]

I found out i was still using version 1. Did some changes to support version 3 and 4.1. Because the control displays correctly (apart from that ugly border) I conclude this code must be ok. WS_EX_CLIENTEDGE ultimatly leads to SetWindowLong(). So I thought to be smart and set everything off, like this:

SetWindowLong(whnd,GWL_EXSTYLE,0)

To my surprise it still displays the border! What i want to get rid off is WS_BORDER, WS_EX_CLIENTEDGE and WS_EX_STATICEDGE.

For version 4.1 I use Loadlibrary("MSFTEDIT.DLL") and classname "RichEdit50W". The MS-documentation says not all styles are implemented, so i thought maybe it is not possible. Your reactions indicate i'm not right... But i still can get it to work.

Someone any (win32) suggestions?

[Solved]

Used Spy+ to find out wich styles where there. Used Setwindowlong() to put the styles in. I think this was a quirk of my gui-classes

Thanks anyway
[End Update]

modified on Friday, July 2, 2010 4:15 PM

AnswerRe: A RichEdit without any borders Pin
Niklas L26-Jun-10 11:36
MemberNiklas L26-Jun-10 11:36 
GeneralRe: A RichEdit without any borders Pin
Rozis29-Jun-10 5:03
MemberRozis29-Jun-10 5:03 
GeneralRe: A RichEdit without any borders Pin
Niklas L29-Jun-10 11:06
MemberNiklas L29-Jun-10 11:06 
AnswerRe: A RichEdit without any borders Pin
Xeqtr26-Jun-10 11:44
MemberXeqtr26-Jun-10 11:44 
GeneralRe: A RichEdit without any borders Pin
Rozis29-Jun-10 5:01
MemberRozis29-Jun-10 5:01 
Questionsorting alphabetically Pin
raju_shiva25-Jun-10 22:53
Memberraju_shiva25-Jun-10 22:53 
AnswerRe: sorting alphabetically Pin
Richard MacCutchan25-Jun-10 23:18
mveRichard MacCutchan25-Jun-10 23:18 
AnswerRe: sorting alphabetically Pin
Shivanand Gupta26-Jun-10 3:40
MemberShivanand Gupta26-Jun-10 3:40 
AnswerRe: sorting alphabetically [modified] Pin
Aescleal26-Jun-10 5:05
MemberAescleal26-Jun-10 5:05 
QuestionRe: sorting alphabetically Pin
David Crow28-Jun-10 5:03
MemberDavid Crow28-Jun-10 5:03 
QuestionData Execution Prevention Pin
T.RATHA KRISHNAN25-Jun-10 21:48
MemberT.RATHA KRISHNAN25-Jun-10 21:48 
AnswerRe: Data Execution Prevention Pin
«_Superman_»26-Jun-10 3:14
professional«_Superman_»26-Jun-10 3:14 
AnswerRe: Data Execution Prevention Pin
MindCoder7927-Jun-10 18:55
MemberMindCoder7927-Jun-10 18:55 
QuestionTesting if Unicode Pin
Hans Dietrich25-Jun-10 20:52
mentorHans Dietrich25-Jun-10 20:52 
AnswerRe: Testing if Unicode Pin
Rajesh R Subramanian25-Jun-10 22:09
professionalRajesh R Subramanian25-Jun-10 22:09 
GeneralRe: Testing if Unicode Pin
Hans Dietrich25-Jun-10 22:54
mentorHans Dietrich25-Jun-10 22:54 
GeneralRe: Testing if Unicode Pin
ThatsAlok27-Jun-10 20:20
MemberThatsAlok27-Jun-10 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.