Flat Combo Box
can any one help me to change the appearance of combo box into flat shape.
thanx in adv
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flat Combo Help
Hey guys i need a little vb help with my Flat Combo Control. What i need to add is the List so you can add items to it from the menu like a standard one that comes with vb6.
The code has been attached. Hope someone can help me out.
Flat Combo Box
how do i get a flat combo box like the one's in MS Word
thanks in advance
Flat Combo Box
i have downloaded source code for flat combox. but when it is runngin my system is not responding. help me in this regard
u can see the source code at
Flat Combo Box
how can i make combo box appear flat using vb.net?
or how can i make it appearing it as in windows xp using vb.net
ActiveX For Flat Combo Box On Vb-6.0
Is any ocx/activeX/control out there for make visual basic 6.0 combo box flat?
I am interested for free stuff. or any code to make combo box flat?
I know its easy with vb.net . but i like it on vb 6.0
How Can I Make A Combo Box To Look Flat
Can anyone suggest me to make a flat combo box? I tried to change the combo box style to be flat in combobox property , but it doesn't change anything.
Thanks so much.
Flat Combo Boxes
ok, i searched google, i searched the site, but didnt find anything re: a flat combo box, any help here, i know you have to subclass it and i have no clue on how to change the way a control looks through subclassing, i kind of have the jist of intercepting button down events and things regarding the mouse, but what about visually? any help would be great, because i tried downloading examples of planet source code, and they dont work, they either are not "Real" combo boxes and/or thier not subclassed correctly and makes vb crash on load, here is a project that i got that is supposed to subclass a combo into being flat, but when i run it, it crashes my vb, maybe you guys can tell me whats wrong
Flat Combo Question
Is there a real good flat combo box ocx activex file ?
because FM20.DLL is not good looking combo boxes
and not really flat
any idea ?
Flat Combo Box(RESOLVED)
How do you make a flat looking combo box? Something like what "Word" does.
I know I will have to set some window styles using "SetWindowLong" api call, but I can't seem to find the right style.
!!! Urgent !!! Flat Combo Box
i have got a special requirement of combo box apperance to be flat instead of 3d how do i got for it
Flat Combo Boxes
Anyone know how to make a flat ComboBox as the Appearence setting doesn't actually work.
Thanks a lot
Flat Combo Boxes??
I, like most people, dont like the look of 3D lists, text boxes, etc. This isnt a problem however because you can change the appearance to flat and they look good again. Why doesnt this work with combo boxes??
i set the appearance to flat but it still looks 3D, therefore ruining the look of my program, any ideas??
Edited by - andrewleworthy on 3/25/2005 8:21:15 AM
Making Flat Combo Boxes
By setting the appearance property of most controls, you can turn them 'flat', getting rid of the default 3d beveling effect. However some controls do not change even when the appearance setting is changed to 'flat'.
Upon searching the forum, I found a thread that discussed this matter but no-one came up with a solution except for paying for an ocx.
But... perhaps there is a way to do it that doesnt involve paying for ocx'es.
If you use a text box, image control and listbox (which does support a 'flat' appearance) you could assemble your own flat combobox.
I have put together a simple example.
I originally posted this as a reply in the original thread, but I got a warning about posting in old (6months) threads. So I thought i'd put this in a new thread instead.
note: i added the pictures i used in the image to the zip.
Flat Combo, Command Buttion
Want to make the combo and command buttons flat.
appearance property can't do not.
could you please help me to make the combo and command button flat?
How To Flat Combo And Command Buttons
I wnat to make the combo and command buttons flat.
combo and command button property appearance can't do not.
will you please help me to make the combo and command button flat?
Making Instrinsic Combo Box Flat In Appearance
Why is it that there is an appearence property for the standard combo box but changing it to flat doesn't actually change the appearance to flat.
Is there anyway to make the appearance flat or is there a control i can use instead.
Any help appreciated
Question: Flat Combo Box,dtpicker, And List Box
May you share about solution "how to make flat combo box,flat dtpicker,
and flat list box"?
I need those components. Thank you for your kindness.
PT. Toyota Motor Manufacturing Indonesia
General Affairs Division-Building Engineering and TELECOMMUNICATION.
Phone : (021) 6515551 ext. 2328 / 2329
Fax. : (021) 6515327
E-Mail : email@removed
Combobox, Apearance FLAT = NOT FLAT?
I prefer to use 'flat' textboxes (appearance = 0-Flat) and stuff. Why is it that a combox with the property appearance set to 0-flat isn't flat but 3d?
Can it be fixed?
Are there any other options?
Hello, does anybody have an example of declaration and use of the GDI+ flat API function GdipLoadImageFromFile()?
It's simple, whatever I pass in the first parameter, the function keeps returning 3 ("Out of Memory").
PD. No TLB, no wrappers. Only plain access to GDI+ please.
ive looked everywhere but cant seem to find this
how do you make a flat fie
and what does it look like
and also how do you link this flat file into a vb6 program
specifically to show a bunch of stored questions and an answer for a quiz program
just point me in the right direction
Is there any Functions or API is available for Flat setting ?
In my application I want to set the control's appearance to Flat. Currently all controls are showing as 3D. By clicking one button, all controls should be changed to Flat.
Earlier I had try APIs, but no luck. Then I was trying to make flat by looping (Taking all controls and making flat in a loop), But it is too slow and it is taking some time
Is there any short method ?
Thanks in Advance
Why is it that i can't obtain a flat graphical button even though I set the Appearance and Style properties accordingly?
Flat Scroll Bar
I need a flat scroll bar for my .ocx but I want it to respond to the mouse wheel when it has the focus like a normal scroll bar would
I have 3 ideas on this and help with any or an alternative suggestion would be appreciated (I can't use SetCapture, and would prefer not to hook)
1)make flat scrollbar respond to mouse wheel
2)make the normal scrollbar's backcolor grey to look like a flat scroll bar
3) use a flat scrollbar with a hidden normal scrollbar that has the focus, and which move in unison (problem here is it only works when you can see the normal scrollbar)
I need to create a report that will pull up information from a database as a flat file. I have created the form but as this is my first project not sure where to go from here to create the flat file and to create a test file for a test upload. Please help.
Problems, problems... Here's an example: In one file I have some strings. In first row string 1, in second string 2... How can I get in my program that randomly select one string and put in textbox?
Guys and Gals,
I have been handed a requirement to convert and existing Access database system to a visual basic project. I have spec'd the project and only have one problem remaining. The user interface. The client wants the vb app to look exactly like the existing database. The only problem I am having is using flat controls. I need to create a series of flat controls (combo, textbox and listbox) and be able to change the border colours of each one. I have managed to create activex "copies" of each one but am having trouble adding a border to ecah that I can change the colour of. Does anybody have any ideas on how I can do this?
How To Flat Buttons
how can i make flat option buttons? similar to the toolbar, flat but raises when mouse hovers.
hi, does anyone know which component to create flatbutton, and what it is for actually? do we need to download anything in order for it to be able to viewed in normal visual basic?
GDI+ Flat API Calls In VB.net
I have been looking high and low for any sort of information on using the GDI+ flat api calls using .net. Specifically GdipLoadImageFromFile, but for that matter I cannot even get GdiplusStartup to return successfully.
Heres a little context for the use. This is for a thumbnail generator, the problem is that when you call the functions in the wrapper classes it automatically does something called "image data validation". This is terribly slow, and apparently is recognized by Microsoft as a problem which they do have a patch for. Unfortunatly, they are keeping a death grip on it until the next framework service pack. Here is a link to the KB article:
with the fix installed, you can load images from disk 97% faster. Thats a pretty serious increase. There is a gentleman who has coded a workaround in the meantime, it appears to be in C#. I am wholly unfamilier with C# and have been trying for quite a while now to convert this code to VB. Here is the link to his workaround:
I have seen posts by OnError written a little more then a year ago that accomplished something similar to this in VB6, I have studied his code as well. but am still unable to make it work correctly.
Here is what I have so far, perhaps it's something simple that I am overlooking.
Declare Function GdiplusStartup Lib "gdiplus.dll" (ByVal token As Long, ByRef inputbuf As GdiplusStartupInput, ByVal outputbuf As Long) As Long
Declare Sub GdiplusShutdown Lib "gdiplus.dll" Alias "GdiplusShutdown" (ByVal gToken As Long)
Declare Function GdipLoadImageFromFile Lib "gdiplus.dll" Alias "GdipLoadImageFromFile" (ByRef FilenameW As String, ByRef gImage As Long) As Long
Dim GdiplusVersion As Long
Dim DebugEventCallback As Long
Dim SuppressBackgroundThread As Long
Dim SuppressExternalCodecs As Long
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim tStartup As GdiplusStartupInput
Dim token As Long
tStartup.GdiplusVersion = 1
Dim ret As Long
ret = GdiplusStartup(token, tStartup, 0)
Dim hnd As Long
ret = GdipLoadImageFromFile(Application.StartupPath + " est.jpg", hnd)
Dim ptr As New IntPtr(hnd)
Dim bmp As Bitmap = Image.FromHbitmap(ptr)
Any help would be greatly appreciated
Hi all, I am looking for help with the best way to create a table?
The initial plan is to construct a database that can simply hold data about music, for example windows media player library. But what is the best way to construct this type of table?
setting control box property of a form to false , caption to null and borderstyle as fixed single gives a flat border to form .
But can i have the same result at runtime ?
ADO And Flat Files
How do I read the contents of a file into an ADO recordset? I know how to save a flat file from an ADO recordset, but how to do the reverse? What's the connection string? What's the command text? What's the significance of the cursor and the lock in this case?
Flat Button OCX
Here is another ActiveX Control attached is the sample project..
Copy the accompanying FlatButton.ocx file into the System Directory and register using regsvr32.exe then run the project
Flat Scrollber Bug?!
I just noticed (again) that you can't have a vertical flat
scrollbar in a ListView??? It only shows the horizontal one and
there's no option to add it. Do I need to use API then?
probably a simple properties thing but i would like to make my buttons flat with a single color border and no selection. like using a picture for a button. can i?
SStab Flat Look How?
anyone know how to make the SStab look flat no 3d just a black border similar to the flat look of a non-3d Textbox
Don't know what the 3DSMax controls look like but I like this:
I've got text files coming in and I need to parse them for comma delimited structure. Any hints on how to get this going?
Sometimes when I load a control at runtime, its constituent textboxes look flat instead of 3D. i tried to set the borderstyle properly i n c o d e, but it doesn't matter.
Why is that and what can i do to fix it (and don't tell me to use the API, I could think of that myself)?
Really FLAT Window?
I have some file, and its window has only black 1px bold rectangle, instead of the 3D gray one. I can add a rectangle to the form, and crop the form region. But I need the rectangle around whole form - and it has menus (so None BoderStyle is not possible)... solution?
I work with VB 6.0 on a win95 system. I am trying to get my buttons to appear flat. However when I set the apperance from 3D to flat, nothing changed? What am I missing?
I need to be able to check a flat file for key phrases How can I do this:
ITEM_BLOCK MASTER_MAINTENANCE /ROW=3 /COL=7 &
I need to look for /Facility in the block above..
Can anyone explain to me how to create a flat menu such as those used in MS Money. I have found ocx's that will allow me to create all the other basic controls but not the menus. Thanks in advance.
VB6 & Flat Files
Which Connection String do I use for Flat Text Files? I am trying to write a program that will examine the files for accuracy before they are sent to the actual databases. I do not want them to be able to write, just read. If there are errors, they need to go back to the originating system and make the corrections.