Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: blastingblast

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Adding pictures to richtextboxes through OLE

    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...
  2. Re: Add Picture to rich textbox using pure win32 api

    Still waiting for replies.C'mon guys, please help
  3. Re: Add Picture to rich textbox using pure win32 api

    This is the code that i have so far

    //hwnd is the handle to my richtextbox
    if ( OpenClipboard(hwnd) )
    {
    HBITMAP hbmp1=(HBITMAP)LoadImage(0,lpszFileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
    ...
  4. Re: Add Picture to rich textbox using pure win32 api

    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
  5. Add Picture to rich textbox using pure win32 api

    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");
    ...
  6. Replies
    3
    Views
    551

    Re: loading bitmaps in an imagelist

    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.
  7. Replies
    3
    Views
    551

    loading bitmaps in an imagelist

    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...
  8. Replies
    2
    Views
    919

    Re: VB internet explorer shell

    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...
  9. Replies
    2
    Views
    919

    VB internet explorer shell

    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...
  10. Replies
    9
    Views
    1,359

    Re: Custom draw listview

    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

    ...
  11. Replies
    9
    Views
    1,359

    Re: Custom draw listview

    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
  12. Replies
    9
    Views
    1,359

    Re: Custom draw listview

    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...
  13. Replies
    9
    Views
    1,359

    Re: Custom draw listview

    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...
  14. Replies
    9
    Views
    1,359

    Custom draw listview

    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...
  15. Re: Refreshing the backcolor of an edit control

    Please help
  16. Refreshing the backcolor of an edit control

    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...
  17. Replies
    8
    Views
    777

    Re: TextColor in Command Button

    Thanks,I finally understood it.Managed to use souldog's code after converting.Thanks Guys.
  18. Replies
    8
    Views
    777

    Re: TextColor in Command Button

    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...
  19. Replies
    8
    Views
    777

    Re: TextColor in Command Button

    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...
  20. Replies
    8
    Views
    777

    TextColor in Command Button

    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...
  21. Re: how to detect changes in text in a textfield

    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...
  22. Re: how to detect changes in text in a textfield

    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.

    LRESULT CALLBACK...
  23. Re: how to detect changes in text in a textfield

    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?
  24. how to detect changes in text in a textfield

    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....
  25. Replies
    4
    Views
    651

    Re: Function Pointers in Classes

    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...
Results 1 to 25 of 26
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center