Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

KienNT78

@KienNT78
About
Posts
10
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Native XP/Vista Menu
    K KienNT78

    Hi, I develop an application by visual studio 2005, programming language C#, and doesn't used any other style tools. After used my application, my friend give me his opinion that I shouldn't use office 2003 menu because it doesn't suite with GUI. he said I should use native vista menu. I think it's good idea so I want to change style menu, but In visual studio 2005, (menu option) Render Mode have 3 options: System, Programming, ManagerRenderMode. I found out that Microsoft support a class VisualStyleElement but I don't know how to used it! I wish some one can show me how to use VisualStyleElement class. I took a look at some sample in MSDN website but I didn't clearly understand. Thanks

    C# csharp c++ visual-studio tools tutorial

  • char * to String^
    K KienNT78

    textBox->Text = gcnew String(szData); Yeah, This way I realy like. Can you introduce more about this. How can you find out this way? Do you have any tips for this kind? Sorry, my English very bad.

    Managed C++/CLI csharp c++ visual-studio tutorial

  • char * to String^
    K KienNT78

    Hi all, I got a small trouble, If some one know how to do please tell me, many thanks. I want to assign szData value into textBox->Text, but two kind of variable different type. I used Visual Studio 2005, and developed VC++ language. private: System::Windows::Forms::TextBox^ textBox; private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { char* szData = "abcabcabcabc"; textBox->Text = //Content of szData variable. }

    Managed C++/CLI csharp c++ visual-studio tutorial

  • char* to String^
    K KienNT78

    Hi all, I got a small trouble, If some one know how to do please tell me, many thanks. I want to assign szData value into textBox->Text, but two kind of variable different type. I used Visual Studio 2005, and deverloped VC++ language. private: System::Windows::Forms::TextBox^ textBox; private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { char* szData = "abcabcabcabc"; textBox->Text = //Content of szData variable. }

    C / C++ / MFC csharp c++ visual-studio tutorial

  • A Fast Bresenham Type Algorithm For Drawing Ellipse
    K KienNT78

    Thanks you for your advice. by the way, Can you give me an other algorithm that you think it's suit to solve my trouble? ;)

    C / C++ / MFC graphics algorithms help

  • A Fast Bresenham Type Algorithm For Drawing Ellipse
    K KienNT78

    I read "A Fast Bresenham Type Algorithm For Drawing Ellipse" by John Kennedy Mathematics Department. Below function was developed base on above algorithm. I want to ask someone help me, how can develop below function to rotate ellipse. If someone have an other ideals, can you help me! void CBGraphics::DrawEllipse(HDC hDC, int x1, int y1, int x2, int y2, COLORREF color) { long x, y, XChange, YChange, EllipseError, TwoASquare, TwoBSquare, StoppingX, StoppingY; TwoASquare = 2 * x2 * x2; TwoBSquare = 2 * y2 * y2; x = x2; y = 0; XChange = y2 * y2 * (1 - 2 * x2); YChange = x2 * x2; EllipseError = 0; StoppingX = TwoBSquare * x2; StoppingY = 0; while( StoppingX >= StoppingY) { Put4Pixel(hDC, x1, y1, x, y, color); y++; StoppingY += TwoASquare; EllipseError += YChange; YChange += TwoASquare; if( ( 2 * EllipseError + XChange) > 0 ) { x--; StoppingX -= TwoBSquare; EllipseError += XChange; XChange += TwoBSquare; } } x = 0; y = y2; XChange = y2 * y2; YChange = x2 * x2 * (1 - 2 * y2); EllipseError = 0; StoppingX = 0; StoppingY = TwoASquare * y2; while (StoppingX <= StoppingY) { Put4Pixel(hDC, x1, y1, x, y, color); x++; StoppingX += TwoBSquare; EllipseError += XChange; XChange += TwoBSquare; if( (2 * EllipseError + YChange) > 0) { y--; StoppingY -= TwoASquare; EllipseError += YChange; YChange += TwoASquare; } } }

    C / C++ / MFC graphics algorithms help

  • Help me! Rotate algorithm
    K KienNT78

    Thanks indeed, I just asked for algorithm, because I want to study algorithm working with rotate image! I want to learn algorithm that independent with code. If you know which book can help about algorithms, please give me book's name

    C / C++ / MFC css com algorithms help tutorial

  • Help me! Rotate algorithm
    K KienNT78

    Hi all, I got a big trouble in rotate algorithm in my project. please see all pictures As you see my first picture that I copied from my project. Note that, background picture mustn’t effect when I drag mouse, but grid lines have to be effected when I drag mouse around center point, so when I drag mouse, grid lines must go around center point until I stop drag and release mouse. My trouble is when I drag mouse around center point (yellow triangle) and when angle reach greater than angle 90 (similar picture 2) then I can not reach angle 180 or greater, if I still keep drag mouse till angle 180 then yellow triangle turn back and point to number of about angle 340 (similar picture 3) so when angle greater than angle 90 I have to release mouse then drag mouse again => it’s not good. Please tell me how to solve this trouble. Thank you so much. I’m sorry, My English is not good!

    C / C++ / MFC css com algorithms help tutorial

  • GDI & Image Processing
    K KienNT78

    Dear all, I design a chart view to show like in the link below: http://www.photoupload.org/image/3798.jpeg My solution is used an array that hold all points and used MoveTo() and LineTo() funtions to draw. But I need line is more smooth than now and I want to ask about solution to do I try to study http://www.codeproject.com/gdi/CTGraphics.asp but I didn't understand much! Thanks

    C / C++ / MFC com graphics design data-structures

  • How to print a file which got images, table, text an so on
    K KienNT78

    Dear All, I'm designing a tool which can open a document and print out that document to default printer. My tool can only print out text file, I want it can be integrate other document files. Can you tell me how to do so, and where can I refer to? I'm using Visual Studio V6.0 and Program language C/C++, MFC

    C / C++ / MFC c++ csharp visual-studio tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups