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

Search:

Type: Posts; User: jigen3

Page 1 of 7 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    4
    Views
    750

    Re: How to delete newlines with Replace()?

    hey great! thx so much.
  2. Replies
    4
    Views
    750

    How to delete newlines with Replace()?

    hi,
    i have this file i would like to remove newlines from so i'm using:




    StreamReader reader = new StreamReader("file1.txt", Encoding.ASCII);
    StreamWriter writer = new...
  3. Replies
    5
    Views
    5,667

    Re: How to make Streamwriter.write() skip a line?

    wow, thanks a lot of the useful info. i'll give these a shot. (actually, i'd like to insert the newlines after the ">" tho)
  4. Replies
    5
    Views
    5,667

    How to make Streamwriter.write() skip a line?

    hi,
    i have this file i would like to add new line characters to at certain places. i have the position of the places i would like to add new line characters to stored in an array of longs, i used a...
  5. Replies
    2
    Views
    7,644

    great! thx, how careless of me:)

    great! thx, how careless of me:)
  6. Replies
    2
    Views
    7,644

    streamreader skipping a line?

    hello,
    i am using StreamReader to read from a file, could anyone see any reason why this code would skip every other line when reading the file (because it does for some reason)? thx a lot for any...
  7. Replies
    2
    Views
    819

    hi, maybe you could post the code that is giving...

    hi,
    maybe you could post the code that is giving you trouble so we can better understand where you are going wrong.
  8. Replies
    1
    Views
    682

    how to add file info.

    hi,
    when looking at an icon in "tiles" view in windows you can see short file descriptions describing company and file size. how does one set that information in the program? thx in advance.
    ...
  9. Replies
    0
    Views
    714

    shifting a bitmap in a picturebox

    hi,
    i am trying to shift an image loaded into picturebox, i am using code like this:



    myPictureBox.Top = -100;
    myPictureBox.Left = -100;


    well, the picture shifts very briefly and...
  10. Replies
    2
    Views
    707

    great, thanks!

    great, thanks!
  11. Replies
    2
    Views
    707

    disabling a toolbar button

    hi,
    does anyone know how i can disable a specific set of toolbar buttons (gray them out)? i can't seem to find an explanation for it anywhere.

    jigen3
  12. Replies
    4
    Views
    1,074

    yes i was a bit surprised by the new toolbar...

    yes i was a bit surprised by the new toolbar message handling scheme, but if you use a switch statement on the toolbar text, it reads quite clearly.
  13. Replies
    3
    Views
    742

    thx for th reply, but i figured it out. i just...

    thx for th reply, but i figured it out. i just took the navigation code out of the form designer generated code section.

    jjigen3
  14. Replies
    1
    Views
    747

    editing form designer code?

    i was wondering if it were ok to go and edit the code that says



    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    ///...
  15. Replies
    1
    Views
    1,042

    hi, as i understand it, assemblies of different...

    hi,
    as i understand it, assemblies of different .net languages can be used in all the languages. i think you would have to compile the library in managed c++ first which will generate the assembly...
  16. Thread: .net question

    by jigen3
    Replies
    1
    Views
    732

    .net question

    hi,
    i was wondering if anyone knew how exactly the .net framework calls the original win32 api. (whether i can actually see the code, etc.)

    jigen3
  17. Replies
    9
    Views
    1,163

    my school used angela b. shiflet's book, Problem...

    my school used angela b. shiflet's book,
    Problem Solving and Program Design in C, Addison Wesley, 1993. pretty good.

    jigen3
  18. Replies
    3
    Views
    742

    Web Browser Control Problem

    hi,
    i am new to c# programming, and i am trying to use the explorer control in an app. the problem is, i can navigate to a site, but when i close it then run it again, the explorer control is...
  19. Replies
    1
    Views
    1,357

    for the first thing, you might want to look at...

    for the first thing, you might want to look at gdi+, you can convert the jpg into a gdi+ bitmap object, then you can set the opacity of the bitmap using the alpha channel (to 50% for each one i would...
  20. Replies
    4
    Views
    683

    he uses onnewdocument on the next page, p.677,...

    he uses onnewdocument on the next page, p.677,
    and RouteCmdToAllViews is cycling through each view to see whether or not it can handle the message or not.
  21. Replies
    1
    Views
    550

    Non-predefined dynamic menus

    hi,
    i was wondering if it were possible to add a menu item to a floating menu at run-time that hasn't been predefined in the rc file or anywhere else in the program, but from an outside source like...
  22. Replies
    6
    Views
    1,179

    hey i had this same problem, what i did was just...

    hey i had this same problem,
    what i did was just go into the mfc code and override the CSplitterWnd::StartTracking() function and replace it with this:



    void CCustomSplitter::StartTracking(int...
  23. Replies
    4
    Views
    2,708

    oops sorry i had a value wrong, was using the...

    oops sorry i had a value wrong, was using the wrong dc. the net result tho is not a SRCAND copy, it is still a SRCCOPY in the end: the bitmap (that has been made transparent) overwrites any other...
  24. Replies
    4
    Views
    2,708

    thx for the reply, i tried your suggestion, but...

    thx for the reply, i tried your suggestion, but everything just came out white, background and foreground, not transparent...hmm.
  25. Replies
    1
    Views
    2,769

    you can create a CBitmap using...

    you can create a CBitmap using CreateCompatibleBitmap, passing in a CDC that has the device context, then using GDI+ you can draw onto the bitmap. maybe this is what u want:



    ...
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured