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

Search:

Type: Posts; User: Emerald214

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    577

    Losing texts when enumerating EMF.

    Hi, I'm enumerating invoice.emf and copy it to another but the texts lost. Surprisingly when I output it to a window, it draws perfectly.



    int CALLBACK EnhMetaFileProc(HDC hdc, HANDLETABLE...
  2. Re: Coordinate problem (an image attached)

    After debugging, I found that my startPoint and my endPoint are wrong. Marked as resolved.
  3. [RESOLVED] Coordinate problem (an image attached)

    I want to reuse DrawPie function to draw 4 same pies, but it was unexpected. I don't understand what have been happening.
    I divide the client area by 4, then pass each rect to DrawPie.

    I suspect...
  4. Replies
    2
    Views
    563

    Re: Coordinate problem (an image attached)

    I'm sorry. I did wrong-post.
  5. Replies
    2
    Views
    563

    Coordinate problem (an image attached)

    I want to reuse DrawPie function to draw 4 same pies, but it was unexpected. I don't understand what have been happening.
    I divide the client area by 4, then pass each rect to DrawPie.
    ...
  6. Re: Why doesn't we always use a fixed mapping mode, why to change it?

    I mean why must change from MM_TEXT to MM_LOENGLISH or something. Change mapping mode then translate window origin and viewport origin, ...
    It is so confusing.

    I think MM_TEXT itself is easy to...
  7. Why doesn't we always use a fixed mapping mode, why to change it?

    I find that it is so difficult to master it because it's so confusing.
  8. Re: It is difficult to write undo/redo capabilities for SyntaxDocument

    That example code totally doesn't show how to build undo/redo funtionality in styled document because it uses JTextArea. (document of JTextArea is plain)
    To undo in styled document, must use...
  9. Re: It is difficult to write undo/redo capabilities for SyntaxDocument

    Thank you but it doesn't help me much. It is an example about undoing/redoing on plain text document.
  10. Re: It is difficult to write undo/redo capabilities for SyntaxDocument

    The problem is my book doesn't have example code about undoing/redoing on styled document. I googled but there aren't any tutorials about it.
  11. It is difficult to write undo/redo capabilities for SyntaxDocument

    How to write undo/redo button for below SyntaxDocument? I read whole Chapter "Swing Undo Package" in "Core Swing Advance Programming" book but I still don't know how to do. (It's so difficult)

    I...
  12. Why wasn't "Java2D demo" built with MVC architecture?

    Java2D demo is packaged with JDK. Its path is "%JAVA_HOME%\demo\jfc". (I'm using JDK 1.6.0_16)

    1) I has searched and I don't see any Observer or Observable existence in source files of Java2D...
  13. Re: how to disconnect to database in this case?

    It's clear. I got it. It's a grade-A explanation. Thank everybody for your helps. :)
  14. Re: how to disconnect to database in this case?

    I'm sorry, I read your reply many times but I still don't understand, so exactly where I should put my disconnectToDatabase()?
    I can't put it at the end of my constructor because my class which...
  15. [RESOLVED] how to disconnect to database in this case?

    I'm working with JDBC.

    1) I want to disconnect to database in a destructor because my class uses the connection during execution time. Please give me a hand where I should put my...
  16. Replies
    12
    Views
    1,067

    Re: Problem with delete operator

    If you want an array with 5 chars, you should use:


    char a[5]; // allocated on stack, no need delete


    or


    char *a = new char[5]; // allocated on heap
  17. [RESOLVED] Trap right-click + control using masks

    How to trap right-click + control using masks? I tried but it doesn't work. If I replace BUTTON3_DOWN_MASK with BUTTON1_DOWN_MASK or BUTTON2_DOWN_MASK, it works. Why? I don't understand. @.@


    ...
  18. Re: [RESOLVED] Menu and popup menu can't use the same menu item?

    I'm very sorry for my poor English. I'm shamed for my response. I wish I could go to the past and do it better. :(


    for(int i = 1; i < 1000; ++i)
    JOptionPane.showMessageDialog(null, "Sorry");
  19. Re: Trap right-click + control using masks

    sorry, wrong-place post :(
  20. [RESOLVED] Trap right-click + control using masks

    How to trap right-click + control using masks? I tried but it doesn't work. If I replace BUTTON3_DOWN_MASK to BUTTON1_DOWN_MASK or BUTTON2_DOWN_MASK, it works. Why? I don't understand. @.@
    Thank...
  21. Re: Menu and popup menu can't use the same menu item?

    Can't really? I have doubt about that because I think it's a reference so it can be used in many places.
    I need one more answer. Anyway, thank you ^^.
  22. [RESOLVED] Menu and popup menu can't use the same menu item?

    Hi, I'm trying to do this: "fileMenu" and "popupMenu" use the same menu item, but it didn't show correctly. When I add redMenuItem to popupMenu, redMenuItem disappears in fileMenu.
    Please help me....
  23. Replies
    2
    Views
    2,146

    Re: Eclipse doesn't see JMF

    This means noone can help? Please tell me something. Sorry.
  24. Replies
    2
    Views
    2,146

    Eclipse doesn't see JMF

    I have the following problem:

    + I using newest Eclipse 3.5.1.* and newest Java JDK and I installed newest JMF with default configuration successfully.

    + In Eclipse Editor, when I type: import...
  25. Re: Trying to master Regular expression :->

    I'm sorry but I'd like to use regex. Read the topic tittle la. =__=
    I think it's ok if I use regex in this case. (shorter and more professional I think)
Results 1 to 25 of 62
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center