Type: Posts; User: blastingblast
Search took 0.01 seconds.
November 22nd, 2008, 07:51 AM
I am currently trying to add pictures into a RichTextBox usig pure win32 api(no MFC). I found the following code.
The problem: if i call the same function to add more than 1 picture, it fails and...
November 21st, 2008, 10:44 AM
Still waiting for replies.C'mon guys, please help
November 20th, 2008, 01:40 PM
This is the code that i have so far
//hwnd is the handle to my richtextbox
if ( OpenClipboard(hwnd) )
November 20th, 2008, 12:38 PM
Laurentis, You suggested this link to my last question also, and I am still not sure what to do with it,Could you explain what i should do? Am still open to any ides. Thanks
November 19th, 2008, 02:24 PM
I am working on a pure win32 api(non MFC) richtextbox. I found the following code for mfc richtextboxes.
Bitmap imageObject = (Bitmap)Image.FromFile(@"C:\2.gif");
November 2nd, 2008, 09:27 AM
I am sorry to say, i am not too sure what i should do.Could you tell me what exactly that group is and whether i should post my question to that group.
Thanks in advance.
October 31st, 2008, 12:49 PM
I have created a listview with pure win32 api(No MFC) , using CreateWindowEx. I have set a backpicture for this listview using LVM_SETBKIMAGE. I now want to load a few bitmaps from a file into...
August 17th, 2008, 09:51 AM
I'm sorry to say i don't understand you. I know what i'm asking for is possible, because several browsers(avant) work on th IE shell and i'm sure that has activex control installation. Could you...
August 16th, 2008, 10:48 PM
When we access a site which requires an activex control to be installed ,IE gives an option to install it in the form of a yellow bar that comes below the address bar.
1)Is there a way I can do...
June 10th, 2008, 09:12 PM
Thanks everyone. I tried Kelly's initial suggestion to call the ProcessCustomDraw instead of the setwindowlong fn, but i found it didn't work. This was because I called it as
June 10th, 2008, 01:01 PM
Sorry I caused so much trouble. I edited the original post and put the code tags. Please help me solve the problem i.e. changing the forecolor and backcolor of a listitem. Thanks in advance
June 10th, 2008, 11:08 AM
Terribly sorry about the code tag. I wasn't aware i should use it. I will use it in my next thread.
My code is not working. By this I mean the code given here, which is meant to change the...
June 10th, 2008, 06:20 AM
Thanks for the reply.
About the calling of ProcessCustomDraw when i need to, the problem is that I am not sure when i should be calling it.
I tried removing the setwindowlong and calling...
I'm using visual c++ 8. I am trying to implement custom drawn listview in pure win32(NO MFC) based on articles on the web, however it doesn't seem to work.What am i doing wrong? PLEASE help. (This...
April 24th, 2008, 01:49 AM
April 23rd, 2008, 02:11 PM
In plain Win32 programming(No MFC) ,i wanted to change an edit control's foreground color(text color) and the entire edit control's background color. So i intercepted the wm_paint message and...
April 22nd, 2008, 01:11 PM
Thanks,I finally understood it.Managed to use souldog's code after converting.Thanks Guys.
April 22nd, 2008, 04:40 AM
What exactly is an owner drawn button? Can it be implemented with createwindow api in a form also created by createwindow api? Could you please show me an example of how to create it and change the...
April 22nd, 2008, 12:27 AM
I checked the link out and it seems the example uses dialogs. In my code i use APIs to create the windows. I need to change the forecolor and backcolor of the command button which is made by...
April 21st, 2008, 07:41 AM
Can anyone tell me an easy way to set the text color of a button (forecolor) to any other color. Eg. red.
I followed a similar procedure as for that of an edit control.But it does not work. Here...
April 21st, 2008, 04:14 AM
Yeah i finally got it. Thanks guys. I made 2 mistakes
1) tried to check en_change in edit control's callback and not the form's
2) tried checking en_change in the message rather than in the wparam...
April 19th, 2008, 02:24 AM
No its still not working for me. This is my callback function for the edit control.What am i doing wrong? Is the en_change given to the parent or something? Here is the callback.
April 18th, 2008, 04:13 PM
Yes i meant an edit control, however the en_change message seems to be evoked only if i cut text from the edit control and not if i type inside the edit control during runtime.Any other suggestions?
April 18th, 2008, 03:18 PM
In C++, plain win32 programming (NO MFC) what message is sent to the textfield's callback if the textfield's text changes? Basically, i need to know how to detect changes in the text of a textfield....
April 16th, 2008, 02:45 AM
Thanks for the replies.Yeah I managed to solve the problem. As the real program was a bit long I posted a short skeleton of the program.My mistake was that i was doing something not required by...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!