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
G

GermanGeorge

@GermanGeorge
About
Posts
32
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DirectX - Generall Question
    G GermanGeorge

    <<<< thank you >>>>

    C / C++ / MFC help csharp visual-studio graphics game-dev

  • DirectX - Generall Question
    G GermanGeorge

    Hi, thank you for your answer. no, I only need the colour. three questions: 1) can you give me some code for your ideas? i would be glad to pay you for it. 2) as the thickness and colour can change with every spectacle: how do i create a texture map in my programm, i cannon hold a file for each possibility. 3) which alpha do you mean? the one of the material, the ampient alpha? sorry george

    C / C++ / MFC help csharp visual-studio graphics game-dev

  • DirectX - Generall Question
    G GermanGeorge

    Sorry for my poor englisch i hope i can make myself understood i need a generall help, how to solve this problem i work with directx sdk 9.0 and visual studio 2005 i have to create a lens (in spectacles). i got the modell of the lens with all the curves etc. but: the lens is made out of colored glass (let us say brown) so what happens is, that in the thinner part of the lens the brown is not so intense. in the thicker part of the lens the lens is darker, as there is more material. please help. how to i start to solve this problem george

    C / C++ / MFC help csharp visual-studio graphics game-dev

  • ODBC And MS SQL
    G GermanGeorge

    I'am getting crazy. I work with the CRecorset Class an Access. Now I want to use MS SQL. New projects work fine, but if i use an older project, there will be a mistake as soon as i use addnew(). i does not matter if i use a snapshot or dynamic cursor. what makes it worse: if i use the same crecordset-class in an old and a new project the new one will word, the old one not. please help before i go nuts!!!!!!!

    C / C++ / MFC database help

  • How to capture an image from an USB WebCam?
    G GermanGeorge

    yes there is. here is what you have to do: 1) use the code you find below 2) create a BITMAPINFOHEADER 3) write the BITMAPINFOHEADER and the bitmap, that is captured below to a file. hdcScreen = CreateDC("DISPLAY", NULL, NULL, NULL); hdcCompatible = CreateCompatibleDC(hdcScreen); hbmScreen = CreateCompatibleBitmap(hdcScreen, Videobild.right, Videobild.bottom); if (hbmScreen == NULL) MessageBox("Bmp konnte nicht erstellt werden"); hbmScreen = ::CreateDIBSection(dc.GetSafeHdc(), (LPBITMAPINFO) m_dibFile.m_lpBMIH,DIB_RGB_COLORS, (LPVOID*) &m_dibFile.m_lpImage, NULL, 0); GDIObject=SelectObject(hdcCompatible, hbmScreen); if(GDIObject==NULL) MessageBox("Object konnte nicht selected werden"); if (!BitBlt(hdcCompatible, 0,0, Videobild.right, Videobild.bottom, hdcScreen, Videobild.left,Videobild.top, SRCCOPY)) MessageBox("Object konnte nicht geBitBltet werden");

    C / C++ / MFC tutorial question

  • How Can I making database project?
    G GermanGeorge

    try using odbc

    C / C++ / MFC question c++ database help

  • Drawing a Window Frame
    G GermanGeorge

    you are right. but, i found a solution to your problme (hopefully) it works fine here. in the header of the modeless dialog declare: afx_msg BOOL OnNcActivate( BOOL bActive ); In the MassageMap of the dialog declare ON_WM_NCACTIVATE() add a method: BOOL Dialog1::OnNcActivate (BOOL bActive) { return TRUE; } that's it.

    C / C++ / MFC graphics json tutorial question

  • Drawing a Window Frame
    G GermanGeorge

    if i had to do this, i would fake the titlebar. i would construct the dialogbox without a title and paint the title myself. you can construct the buttons also then: m_dialog1->writeMyTitel("Title 1"); m_dialog2->writeMyTitel("Title 2");

    C / C++ / MFC graphics json tutorial question

  • Display number on the Push Button
    G GermanGeorge

    use CBitmapButtons CBitmapButton bezier; bezier.LoadBitmaps(_T("IMAGE27UP"), _T("IMAGE27DOWN"), _T("IMAGE27DOWN"), _T("IMAGE27GREY")); bezier.SubclassDlgItem(IDC_BUTTON_BEZIER, this); bezier.SizeToContent(); then, if you want to change the image just use bezier.LoadBitmaps(_T("IMAGE29UP"), _T("IMAGE29DOWN"));

    C / C++ / MFC graphics

  • Any Body Know abt SmartCard Api's
    G GermanGeorge

    if it is a standard ct terminal: search for the ct-api (Card-terminal Application Programming Interface) or you can search for a documentation of the ctrsct32.dll or you search for ct-bcs Card Terminal Basic Command Set i got one here, but it is in german :omg: hope it helps george

    C / C++ / MFC tutorial json

  • Tree Ctrl Refreshing
    G GermanGeorge

    did you try m_tree.Invalidate(TRUE); it works fine with me.

    C / C++ / MFC data-structures

  • How to prevent setting focus to modeless dialog ?
    G GermanGeorge

    i did not test it, but i would start this way. after m_Modelessdialog->ShowWindow(SW_SHOW); i would use this->SetActiveWindow(); or this->SetFocus(); or this->BringWindowToTop(); etc. to get the focus pack to the parent. just try hope it helps George

    C / C++ / MFC tutorial question

  • Transparent icons on a toolbar buttons
    G GermanGeorge

    i did not try this out, but I would start this way: subclass the bar overwrite the WM_CTLCOLOR of the bar and set in the method { pDC->SetBkMode( TRANSPARENT ); return m_LeerBrush; } where m_LeerBrush=GetStockObject(HOLLOW_BRUSH) Then use a transparent color for the icon hope this helps

    C / C++ / MFC question

  • Activex controls (i'm getting nuts)
    G GermanGeorge

    Hi, i have the same problems. it happens in my programms, when i have more then two windows above each other. dialog1 calls dialog2->DoModal(), dialog2 calls dialog3->DoModal(). The ActiveX-Elements will not appear in Dialog3. So, what I did, i put them in a dialog in a dll. then they work. not really a help, but a information.

    C / C++ / MFC help com question

  • Link to other frames
    G GermanGeorge

    hi, thank you for your reply. but it does not work. i use

    and i set the bk-color in "hauptframe" to 0x000000. as soon as i klick on the link the picture ist displayed, but with a white bk-color.

    Web Development help

  • Link to other frames
    G GermanGeorge

    Here is my problem: i have to frames. left frame: thumbs of pictures. on the right i want to display the pictures in a larger scale i huese href with thioe option target= so far, no problem. but the right frame will not take the attributes i gave to him. like background color etc. if i put the right frame to backgruoncolour 0x000000 it will change to 0xFFFFFF, when the large picture is displayed. please help, an pitty my poor english:-O

    Web Development help

  • Selecting the file names in open file dialog
    G GermanGeorge

    Subclass the CFileDialog then you have methods that do, what you want. like: OnFileNameChanged or OnFolderChanged or onLBSelChangedNotify

    C / C++ / MFC c++

  • Connecting to a datasource
    G GermanGeorge

    try CString tmp="DSN=EOP;UID="+name+";PWD="+pw; m_pDatabase->OpenEx(tmp, CDatabase::noOdbcDialog );

    C / C++ / MFC help

  • Desparate Help needed
    G GermanGeorge

    I put a dll on http://www.immenro.de/test/diadll.dll you can download it there the method is called call_it(int x, int y, int cx, int cy, CString text)

    C / C++ / MFC csharp c++ com help question

  • DirectShow Tutorials
    G GermanGeorge

    download the directX sdk from microsoft. in \\Dx8VcSdk\samples\multimedia\directshow\capture\amcap you fill find an example, of how to capture all videoinputs there are more good examples in the sdk

    C / C++ / MFC question graphics game-dev algorithms tutorial
  • Login

  • Don't have an account? Register

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