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

Search:

Type: Posts; User: VGirish

Page 1 of 80 1 2 3 4

Search: Search took 0.08 seconds.

  1. Re: CPropertySheet 'Help' key (disabling)

    Hi John,

    Use

    PropSheet.m_psh.dwFlags &= ~PSH_HASHELP;
    Proppage.m_psp.dwFlags &= ~PSH_HASHELP;
  2. Replies
    2
    Views
    509

    Re: Selecting a line

    Hi,

    Take a look at the PtInRegion and PtInRect functions in the MSDN.

    Before that, take a look at the DrawCli sample in the MSDN. That sample
    would give you a good start.
  3. Thread: Edit Box color

    by VGirish
    Replies
    4
    Views
    553

    Re: Edit Box color

    Hi,

    Handle WM_CTLCOLOR and in your OnCtlColor(CDC* pDC, UINT nCtlColor)
    function, use


    //set text color
    pDC->SetTextColor(RGB(255,255,255));
    //set the text's background color
    ...
  4. Replies
    5
    Views
    1,062

    Re: Retrieve BIOS Serial

    Hi,

    Guessed that u would ask for a sample. :) Anyway, take a look at
    this link

    WMI works as follows:

    1. It uses a subset of SQL called WQL for querying the system.
    For example, SELECT...
  5. Re: Writing to flat text file w/o serialization

    Hi,

    Alternatively, you can use CArchive::WriteString. Take a look at http://msdn2.microsoft.com/en-us/library/0ck300ac.aspx
    for a sample.
  6. Re: Writing to flat text file w/o serialization

    Hi,

    In your case, why do u need serialization ? You can just remove that code
    and use CFile or CStdioFile to write and read your data directly. :)
  7. Replies
    3
    Views
    525

    Re: Determine if any documents open in MDI

    Hi,

    After u change your document's content, call "UpdateAllViews". :)
  8. Replies
    7
    Views
    812

    Re: VC++ in the modern era

    Hi,

    How long is your programming career going to continue until u move over
    to management ? As long as you are going to code for less than 10 years
    u should have no problem with VC++. ;)
    ...
  9. Replies
    5
    Views
    1,062

    Re: Retrieve BIOS Serial

    Hi,

    Take a look at WMI. It contains features to enumerate most of the resources
    used by the system. Just changing the parameters would enable you to
    even get the bios serial number of any...
  10. Replies
    3
    Views
    502

    Re: A Win32 Dll Question

    Hi,

    What do u mean by "It will not work in the other OS" ? Please check if you
    have the same project settings for the "Release" build and the "Debug" build.
    You might have forgotten to set the...
  11. Thread: CAnimateCtrl

    by VGirish
    Replies
    10
    Views
    1,169

    Re: CAnimateCtrl

    Hi,

    If your aim is to play an .AVI file, there are 3 ways of doing it.

    1) Use CAnimateCtrl :-
    NOTE:- Can play ONLY uncompressed .avi files.For Example,it will not work with
    Globe.avi.

    2)...
  12. Re: What is the code to play a .wav file in visual c++?

    Hi,

    You definitely need to take a look at DirectShow. A tutorial is available at
    http://www.geocities.com/contactgirish/DirectShow.html

    By including DirectX, your overhead is going to...
  13. Replies
    2
    Views
    551

    Re: Using the zipping utility of windows XP

    Hi andreshs1,

    The compression functionality available in Windows XP is not what you think
    it is. It does not compress as winzip does. It works like the "Compress
    drive to save disk space" option...
  14. Replies
    7
    Views
    612

    Re: Creating an ActiveX control

    Hi,

    Take a look at http://www.codeproject.com/atl/SimpleATLCom.asp

    That should give u a headstart. :)
  15. Replies
    11
    Views
    1,119

    Re: C# for the C++ guy...

    Hi,

    For a C++ guy moving to C#, i'd suggest GDI+ first. If u have an
    understanding of GDI+ , its quite easy to draw custom controls (owner draw).

    Its better not to mix managed code (C#)...
  16. Replies
    7
    Views
    612

    Re: Creating an ActiveX control

    Hi,

    What graham meant was using WMI. Its not a third party tool. Its from MS
    and u can use it at will. :)
  17. Re: How to copy file from one place to another....

    Hi,

    Since you have finished reading the bytes and have written them to the destfile, it means that the download is done. You dont need to check any
    condition after calling destFile.Close(). You...
  18. Replies
    7
    Views
    612

    Re: Creating an ActiveX control

    Hi,

    Create a DLL using ATL COM that exposes your functionality. Take a look
    at Variants, BSTR and SafeArray which would help you use your code
    from other languages.
  19. Replies
    5
    Views
    703

    Re: How To Display .png

    Hi,

    You can use either GDI+ as mentioned by jayender.vs or you can take a
    look at a free open source library called CxImage if you need to do raw
    processing of the image data.
  20. Replies
    1
    Views
    393

    Re: Process automation sample application

    Hi,

    If u r looking for free code, take a look at the Drawcli sample available at
    http://msdn2.microsoft.com/en-us/library/9t94971d.aspx

    If u r ready for a commercial library, search for a...
  21. Replies
    2
    Views
    726

    Re: Flickering Problem in VC++

    Hi

    Search for "Double buffering" on the net. There is a class called CMemDC
    by Keith Rule which will help u avoid the flickering.
  22. Replies
    1
    Views
    448

    Re: Automated MS Word and VC++

    Hi,

    Though the code is in Borland C++, you should have no trouble porting it.
    http://www.codeproject.com/com/MSWACPP.asp
  23. Re: What is the code to play a .wav file in visual c++?

    Hi,

    Quote from one of my previous posts :)



    1) Use ::SndPlaySound for small wav files
    2) Use the PlaySound function for larger wav files
    3) Try the MCI Control MCISendMessage function...
  24. Thread: help need

    by VGirish
    Replies
    6
    Views
    635

    Re: help need

    Hi,

    Can u zip your code and upload it here so that we can take a look at it ?
  25. Replies
    3
    Views
    1,112

    Re: Show and Hide a new IDD_FORMVIEW

    Hi,

    As far as i can understand, you have a main view which is covered fully
    by the Formview when you want to display an image. Right ?

    You are displaying bitmaps in your main view, but when...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center