//hwnd is the handle to my richtextbox
if ( OpenClipboard(hwnd) )
{
HBITMAP hbmp1=(HBITMAP)LoadImage(0,lpszFileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
...
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
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.
Hi,
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...
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...
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.
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
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
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...
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...
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...
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...
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...
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.
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?
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....
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...