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

Search:

Type: Posts; User: jiac

Page 1 of 11 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Hi Kirants,

    (Sorry that I didn't see this post. I didn't see the >2 to continue to the next page.)

    Question, this approach, is it supported for per-pixel alpha blending since one would have to...
  2. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Hi Kirants,
    Can you elaborate on the other ways to do what I wanted? Please....

    You are leaving me hanging with that last statement.

    Thanks again,
    Jiac
  3. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Kirants,
    Thanks! That helps!! Thank you so much for helping. :)

    I have another question, please tell me how to handle having controls? I want to put some CStatic controls on this dialog, but it...
  4. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Hi all,

    My question now, essentially, is how to load more than 1 png on a dc? How do I specify that I want to load png1 at Rgn (0,0,100,100) and another at (100,100,200,200)?

    Is it to use...
  5. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Hi Kirants,
    Sorry for the delay.

    The portion is clicked through to whatever the underneath is, if it is another icon, it will invoke that.

    Here is what I put together in pngText.zip, please...
  6. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    Hi Kirants,
    I tried the sample code from http://www.codeproject.com/gdi/pxalphablend.asp
    and the dialog window resized according to the png's actual drawing, so the transparency part is not being...
  7. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    ( Thank you for your reply and taking the time to dig up the link.)

    I have looked over the first example on region creating and the 2nd one was actually what I based on loading the pngs. I think...
  8. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    To further illustrate what I need help on, please see this link.
    http://www.codeguru.com/Cpp/W-D/dislog/bitmapsimages/article.php/c4977

    the difference is, I want to load PNG instead. Thanks!
  9. Replies
    16
    Views
    2,852

    Re: How to load & save irregular dialog to bitmap?

    I have came across this project before, but shamelessly to say is that to my confusion, how do I use it?

    To load the png which will affect the shape of my dialog, and to save the irregular-shaped...
  10. Replies
    16
    Views
    2,852

    How to load & save irregular dialog to bitmap?

    Hi all,

    Maybe I am just not geting it, but I have searched for the past 2 days, and I can't seem to find info on how to save an irregular dialog. There are 2 parts to my questions:

    1. If I am...
  11. Replies
    2
    Views
    800

    Re: Help: Statically linked MFC DLL not working

    Hi All,

    Perhaps I should rephrase my question, has anyone able to create and load resource files w/ using LoadLibrary() via statically linked to MFC?

    Also an attempt to get a response.
    ...
  12. Replies
    2
    Views
    800

    Help: Statically linked MFC DLL not working

    Hi all,
    I have tried to build a MFC that is statically linked, I have been tracing the problem. I noticed that for my resource DLL it wasn't getting loaded by LoadLIbrary, the error code returned...
  13. Replies
    1
    Views
    1,563

    Re: ToolTip and owner draw CButtons

    Still searching for potential workarounds.

    I essentially have 3 questions:
    1. Button with owner draw flag set, has anyone gotten tooltip to work with them?

    2. How to prevent window from doing...
  14. Replies
    1
    Views
    1,563

    ToolTip and owner draw CButtons

    Hello,

    I have a rather confusing question that I hope someone can give me a clue. I have tried to add tool tips to a derived Groupbox from CButton class. It would be fine if I removed the owner...
  15. Replies
    8
    Views
    1,694

    Re: Tabbing problem with transparent CButton

    PS: For the checkbox being black, there are 2 solutions, one is bitblt and another is to call EnableThemeDialogTexture. I tried the first one and it works.

    Thank you and until next time.

    Jiac
  16. Replies
    8
    Views
    1,694

    Re: Tabbing problem with transparent CButton

    Thank you for getting back.
    How should I do that to draw the rect twice? I have tried to put that

    "DrawFocusRect(lpDIS->hDC, (LPRECT)&focusRect);"

    in DrawItem() but it is not working....
  17. Replies
    8
    Views
    1,694

    Re: Tabbing problem with transparent CButton

    Yes, I want to do owner draw, but since the background dialog contains a bitmap, I want a transparent button, so the button is not going to be fancy but just owner draw.

    The article on CButtonST...
  18. Replies
    8
    Views
    1,694

    Re: Tabbing problem with transparent CButton

    Hello Mr. Beans and everyone,

    Thank you for your reply, sorry that I haven't had a chance to post what I meant.
    Please see the attached exe for what I meant and the source files to test it out....
  19. Replies
    8
    Views
    1,694

    Re: Tabbing problem with transparent CButton

    This may not have a quick solution? But still please give me some pointers. I don't understand why after the 4th cycle the window gets repainted.

    Help...
  20. Replies
    8
    Views
    1,694

    Tabbing problem with transparent CButton

    Hello Everyone,

    This should probably be a quick solution - please help me.

    I have successfully gotten transparent background for my CButton class with either
    1) return 1 in OnEraseBackground()...
  21. Re: 2 CDialogs and sharing 1 systray icon - how to implement?

    I tried to have a parent mainframe and then the 2 child dialogs, however, this introduces the problem of moving the child dialog, i.e. it can't be move past the boundary of the parent window until...
  22. 2 CDialogs and sharing 1 systray icon - how to implement?

    Hello Everyone,
    I have previously been able to get one dialog and 1 systray icon to be working, I could right-click on the icon and get the msg trapped. This is all good until I have to add another...
  23. Re: Child dlg can only move w/in parent client region.. help!

    Hello,
    I have made some progress now that I no longer care about the data transfering part, but PLEASE tell me how to create threads in my CWinApp class. I want to create 2 dialogs, each from a...
  24. Re: Child dlg can only move w/in parent client region.. help!

    Hello gstercken et all,
    Thank you for the reply. Yes, my intend of having a parent was so that
    some of the code can be re-used, i.e. the menu items and their associated actions and I thought that...
  25. Re: Child dlg can only move w/in parent client region.. help!

    While still clueless on this topic, I thought I would make it more graphic in terms of why I am stuck.




    ||=======================||
    || (but it can only reach this location) ...
Results 1 to 25 of 260
Page 1 of 11 1 2 3 4





Click Here to Expand Forum to Full Width

Featured