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

Search:

Type: Posts; User: sjaycohn

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    Does anyone know why drawing text to an offscreen bitmap to a Windowless VMR only allows white text?

    The DirectShow overlay samples seem to work with various colors, and I just can't understand...
  2. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    Can anyone help me?
    I attempt to draw text text to a windowless vmr9, and I am able to get text overlay but my text either only shows up in white or not at all.
    The funny thing is that I can only...
  3. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    I attempt to draw text text to a windowless vmr9, and I am able to get text overlay but my text either only shows up in white or not at all.

    Attached is my project - Compiles in VS2008
  4. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    The problem is that the video I'm speaking of is not getting drawn to my window. It's getting drawn to it's own window and I don't know why.

    It's set up for Windowless Mode. Can't figure out why...
  5. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    Does anyone understand DirectShow?
    I've been trying to learn, but I think I'm missing something and I really can't figure out what I'm doing wrong.
    I've been stuck on this problem for 2 months now...
  6. Replies
    7
    Views
    9,146

    Re: DirectShow frustrations.

    Can anyone help me? I am stumped.
  7. Replies
    7
    Views
    9,146

    DirectShow frustrations.

    Hi all,

    Not sure if this is the right forum, but here goes.

    I've been struggling to create a very simple DirectShow application that will display a live video stream in a window of our choosing...
  8. Replies
    5
    Views
    1,271

    Re: Stuck on Java GUI Program

    Thank you so much.
    That worked beautifully.
    I tried adding the JScrollPane to the panel before, but it never seemed to work for me previously - not sure why.
  9. Replies
    5
    Views
    1,271

    Re: Stuck on Java GUI Program

    My code uses BorderLayout currently.
    I write a JList with icons and text to a JPanel and a button and textbox to other JPanels.
    This JPanels get added to my JFrame.
    The code I attached has this...
  10. Replies
    5
    Views
    1,271

    Stuck on Java GUI Program

    I have a problem with a Java GUI program I am writing.
    I am trying to display a list of icons for a virtual (emulated) directory.
    That works fine, but I want to clip the display region and use a...
  11. Replies
    1
    Views
    4,832

    Problem With Win32 Graphics Update

    Hi I am compiling Win32 C++ code using Bloodshed DevC++.
    My program draws circles on the screen, and updates to new positions every second on a timer.
    I verified that the timer works and WM_PAINT...
  12. Replies
    5
    Views
    5,652

    Re: Change System Menu Text Size

    Thanks, egawtry. I know how to get the size of the text of a menu item. I just think it's rediculous that setting menu text size was not included in the API. This application is to be used in an...
  13. Replies
    5
    Views
    5,652

    Change System Menu Text Size

    Hi,

    I wrote a win32 (NO MFC) GUI in C++ using visual studio 2005.
    I am currently using the CreateMenu/ AppendMenu API for dynamic menus.
    However, my system(drop-down) menu item text is too...
  14. Replies
    2
    Views
    745

    Re: Book for learning Graphics prgrming ...

    Well, for graphics programming in Windows in C++, I would have to recommend either Programming Windows by Charles Petzold or Windows Graphics Programming by Feng Yuan.
    The latter is slightly more...
  15. Replies
    2
    Views
    4,859

    Re: Progress Bar Not Updating

    Thank you so much.
    I completely forgot about the scope of my progress bar.
    Yes, I think static is appropriate.
  16. Replies
    2
    Views
    4,859

    Progress Bar Not Updating

    Hi, I have a Win32 c++ program in Visual Studio 2005.
    My program creates a child dialog box, which displays a progress bar on a timer.
    This timer is started when the SEND button is clicked.

    For...
  17. Replies
    1
    Views
    3,137

    Win32 Radio Buttons

    Hey Guys,

    I wrote a c++ GUI entirely using win32 (NO .NET or MFC)
    I would like to add radio button and progress bar functionality to my window, but I can't find any examples or references on how...
  18. Replies
    2
    Views
    921

    Question With Windows Menu API

    Hey Guys,

    I have a Win32 C++ application that uses the CreateMenu/AppendMenu/SetMenu API to dynamically make my drop down menus during runtime - yeah, I coded this the hard way.
    I was asked to...
  19. Replies
    3
    Views
    1,190

    Re: Protecting a folder from being deleted

    I believe deleting is the same as writing, so disabling write permission should disable deleting.

    Look up the SetFileSecurity() function.
    This should do the trick.
  20. Re: how can i convert DateTime value to string in C++

    No, No, No...

    Do you even realized what you commented out does?
    [CODE]
    char str[] = (char)dt;
    [\CODE]

    (char)dt is a single character, being the first character in the dt string.
    On second...
  21. Replies
    7
    Views
    824

    Re: DC not working

    Where's the rest of your code?
    This is not a complete program.
    Where's the WinMain?
    Where do you handle Windows messages?
    This is what fred100 meant by needing Charles Petzold's book "Programming...
  22. Replies
    1
    Views
    525

    Re: Very New to C++

    Well, as a reference book, I will always defer to the creator of C++, Bjarne Stoustrup. The book is called the C++ Programming Language.

    However, a great teaching website and book I found is from...
  23. Replies
    3
    Views
    691

    Re: Authenticating a program

    Possible solution:

    The MD5 is just not good enough for authentication.
    You could try the HMAC-MD5, which is much more secure.

    Of course you could always go the certificates route, but I...
  24. Replies
    2
    Views
    642

    Re: Getting input from a file

    As for the other piece of code:

    [CODE]
    ifstream ("myfile.txt")
    std::cin >> m;
    [\CODE]

    This doesn't do anything.
    This won't even compile.
    I think you left out some necessary code.
  25. Replies
    2
    Views
    642

    Re: Getting input from a file

    Yes, the code you were asking about initializes the variables of that class.
    You can only do that in the constructor though.
    That is a kind of pre-initialization that occurs before the first line...
Results 1 to 25 of 131
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured