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

Search:

Type: Posts; User: hikki

Page 1 of 5 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    2,282

    Re: using gdi32 CreatePen

    Oh, Thouasand thanks to you , Norfy,

    It's a great help for me. You've made a good examples.

    I know what problem in my code now, one other problem also affecting me is the value that I set...
  2. Replies
    3
    Views
    2,282

    using gdi32 CreatePen

    hi,

    I have to do some XOR drawings in my project, so I tried to import gdi32.dll into my c# project, and also I'm using its CreatePen function.

    the declaration is :

    private static extern...
  3. Replies
    9
    Views
    27,270

    There is a good method in string's method,...

    There is a good method in string's method, String.Trim().

    It removes all space from the string.
    you can also use "Hello how are you?".Trim();
  4. Thread: TreeNode in c#

    by hikki
    Replies
    2
    Views
    1,133

    simply just set the node.ImageIndex , but...

    simply just set the node.ImageIndex , but remember to create a imageList first.
  5. Replies
    0
    Views
    1,274

    combine images process

    Hi,

    Does anyone made some examples/functions for combining bitmaps?

    I have one simple program that can seperates a color picture into C,M,Y,K color layers (4 images). They are same,...
  6. Replies
    4
    Views
    936

    Thanks, but I'm not going to use in richtext box...

    Thanks, but I'm not going to use in richtext box only.

    Actually, the undo-redo option is use for UI changing.
    e.g. wrong deleting item,
    wrong setting of my customer object, position...
  7. Replies
    4
    Views
    936

    Undo Redo example?

    Hi,
    I'm going to add "Undo" "Redo" function for my project. But I have no idea to do such things.
    Is there any example for this? Could anyone provide some examples??

    Thanks a lot
  8. Replies
    5
    Views
    3,065

    Hi, I just think if I want to check whether 2...

    Hi,
    I just think if I want to check whether 2 control keys are pressed at the same time.
    how can I do then?



    the code is just checking one ModifierKeys.
    Should I need to do it in 2...
  9. Replies
    13
    Views
    6,130

    Oh... Yes, using "using" statement is much...

    Oh... Yes,

    using "using" statement is much better then calling dispose by myself. I have learnt this statement before, but I forgot to use this.

    Actually, will you always use this statement ? ...
  10. Replies
    13
    Views
    6,130

    Thousand thanks

    Oh... Thanks so much Norfy,

    I have tried your suggestion. It worked !!
    I used the following code evertime before adding bitmap to imageList instead of just use imageList1.Images.Add( new...
  11. Replies
    13
    Views
    6,130

    Thanks for your help, Paresh.. hm..... still...

    Thanks for your help, Paresh..

    hm..... still doesn't work.. :( :confused:

    firstly, c# is not allow us to set images to null, because it is read only..




    and I have tried to use...
  12. Replies
    13
    Views
    6,130

    Sorry, Paresh, Maybe I'm stupid, :( I...

    Sorry, Paresh,

    Maybe I'm stupid, :( I couldn't find any methods for GC's flushing ? I just find GC.collect() etc.........
    how can I ask GC to free out resource??

    can you provide me...
  13. Replies
    13
    Views
    6,130

    Hi, Paresh, As I tried before, I've tried...

    Hi, Paresh,

    As I tried before, I've tried to use imageList.Dispose(), and then delete the bmp file. however, it still doesn't work..




    string bmpPath =...
  14. Replies
    13
    Views
    6,130

    can't delete bmp file from ImageList

    Hi all,

    I can't solve one problem about deleting bmp file, which make me so confuse...

    I created an imageList control in my Form, and dynamically add bitmaps on it. I use it to show some...
  15. Replies
    3
    Views
    756

    yes .. i don't know why? e.g. if I...

    yes ..

    i don't know why?
    e.g.
    if I calling the class methods in other class, when I press ".", it shows a function, but can't show the description.

    how come???
  16. Replies
    3
    Views
    756

    Description of Functions

    Hello,

    I would like to make descriptions for my defined functions. I had tried <summary> </summary>, but it only shows the summary within same class.

    I hope to see the descriptions of...
  17. Replies
    1
    Views
    653

    sorry, I solved it, i just got a mistakes. ...

    sorry, I solved it, i just got a mistakes.

    should be Point[] pts = new Point[10];
  18. Replies
    1
    Views
    653

    create point array ?

    Hello,

    I just got a question, how can I create a Point[] with size?

    I use Point[] pts = Point[10];
    The builder can build it, and say error,
    how can I declare this array??
    ...
  19. Replies
    1
    Views
    681

    getting enum integer ?

    Hi all,
    I'm having a stupid question, how can I get the integer that represent the enum?



    public enum outputType
    {
    TIF = 0,
    JPG,
    BMP,
  20. Replies
    5
    Views
    1,070

    Great ~~!! That's what I wnat to do.......

    Great ~~!!

    That's what I wnat to do....
    Thanks so much for all of your replies....
  21. Replies
    5
    Views
    1,070

    Thanks for your reply... But could you show...

    Thanks for your reply...

    But could you show me more details how to use this Enum.
    Actually, I need to know where the Windows installed at, and try to get the System Dll path....

    thanks
  22. Replies
    5
    Views
    1,070

    getting system path ??

    Hi, all..

    Is there any good method or function can get the system path.
    I wnat to get the system32 folder path of window.
    Since window may not always installed in C drive, sometimes, D:,...
  23. Replies
    5
    Views
    2,536

    hi , may be I'm wrong, but I just felt...

    hi ,
    may be I'm wrong,
    but I just felt you can check if the array is "null" first?

    i.e. if(MyArry!=null)
    {
    // check the array length here
    ...
  24. Replies
    2
    Views
    639

    Thank you Pareshgh, your method is...

    Thank you Pareshgh,

    your method is good.....,

    I'm just trying the code:

    string dirFolder = "C:\\abc\\temp"
    Directory.Delete(dirFolder, true);
    ...
  25. Replies
    2
    Views
    639

    Deleteing Folder Contents ?

    Hi,
    I would like to ask how can I just delete the contents of one Folder or Directory,
    e.g. I just want to delete all contents inside "C:\abc", but don't wnat to delete folder "abc", is...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured