|
Can any on tell me how to remove borders from a Combobox. I tried SetWindowRegion, it worked for Edit control, but it did not work with Combobox
Thanx
Md. Humayuon Kabir Hemoo
modified on Saturday, February 16, 2008 12:55 PM
|
|
|
|
|
You could try removing any border styles from the window styles associated with the
control.
If a control's painting implementation ignores the style then you have no choice but to draw
the control yourself.
MArk
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark,
Thanks for your response. It seemes I need to draw the combobox my self. But don't you think SetWindowRegion should set the painting area of a control?
Humayoun
Md. Humayuon Kabir Hemoo
|
|
|
|
|
Humayun Kabir Hemoo wrote: But don't you think SetWindowRegion should set the painting area of a control?
Not necessarily. The control draws itself just like any other window.
Whether the control sets its own region or not, or honors any of the styles you
create it with, depends on the implementation.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I didn't know this before, thanx. By the way, removing WS_BORDER didn't work.
Md. Humayuon Kabir Hemoo
|
|
|
|
|
Do you want to customize combobox or remove border of it?
|
|
|
|
|
I want to remove the border.
Md. Humayuon Kabir Hemoo
|
|
|
|
|
So you can use of property window of combobox or use of ModifyStyle(....) for remove each style that you dont want it.
|
|
|
|
|
can we make any control(like edit box) as the standard output device so that the result of the process can b directly shown in that particular edit box without any interaction ..............i think it is possible when we run the procees using createProces() and pass appropriate arguements.......but i am not able to complete it
AbidBhat
|
|
|
|
|
This is a good place to start
Clickety[^] and then follow the yellow brick road.
I have beaten you, Rajesh.
Maybe could win the next race.
Sorry Rajesh, I just couldn't resist
codito ergo sum
|
|
|
|
|
BadKarma wrote: I have beaten you, Rajesh.
Maybe could win the next race.
Okay, you win this time. But, I've replied him, too.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
lol !!!!!!!!
Rajesh R Subramanian wrote: you win this time
that is because u expected this tomorrow
Rajesh R Subramanian wrote: He'll ask it again tomorrow
his trick is to ask before that
|
|
|
|
|
This[^] must help you.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Process started successsfully......but i want to display the output in an edit box rather than console window ..........how to do it
AbidBhat
|
|
|
|
|
|
He'll ask it again tomorrow and I'll link him to your reply here.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
modified on Saturday, February 16, 2008 3:35 AM
|
|
|
|
|
I was not kidding, if that was not his required solution, i would expect him to answer why and what he actually needed.
|
|
|
|
|
I'm serious too. I'm seeing him asking the same thing over and over from various IDs in the past week. So, I said if he asks it again, I'll link him to your reply which would link him to David's reply which would link him to the MSDN article.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
agree,i misunderstood then your post has spelling mistake "like" change to "link".
|
|
|
|
|
Fixed, thanks.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
You can creat a MFC process or windows Application
|
|
|
|
|
Can you be more specific about your program?
|
|
|
|
|
I have to develop something of a in-house readonly database. The records are of fixed length - which is where my question comes in.
Because the database will potentially be quite large, mapping the file to memory first is not really an option - it's a server environment too so each request would drown the server with memory consumption.
For this reason, I opted to go with a simple readonly fixed record database. Where maybe a dozen records are used or read per request - but they are different each request to again mapping to memory doesn't seem practical - except maybe for temporary caching.
Anyways, my question...does the block size of the file system dictate the ideal/optimum record size?
For instance, if you setup a system with a block size of 4096, would my code realize best performance if each record was fixed at 4096 or a multiple of that???
4096 is plenty for the records I wish to store, but should this value be configurable so different systems will realize better performance?
Again, not repeat myself, but the pressing quesiton is: If the block size is 4096, should each record be that size as well - remember that I will index each record by diving the filesize by 4096 and then fseek and read 4096 bytes from that point. So I wonder, is this the right choice to make when implemenitng this custom database?
p.s-any reference material you can include is appreicated - especially if its Linux related as that the OS I'm targeting. :P
Cheers
I'm finding the only constant in software development is change it self.
|
|
|
|
|
hi
i have a application to encrypt and decrypt the data .
when i compile it says that "can not open file 'Advapi32.lib'" .
can any one help me how to Tell the linker to link the
Cryptography API.
#pragma comment(lib, "Advapi32.lib")
k.guru moorthy
|
|
|
|
|
You need to specify its path in: project properties/Linker/General/"Additional Library Directories". (for VC2005).
|
|
|
|