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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

Chris Vischer

@Chris Vischer
About
Posts
15
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using FILE* as paramter to DLL-function fails
    C Chris Vischer

    Hi, i want to call a function defined in an DLL with a FILE * as parameter, but trying to access the file via this fileponter i get an access violation. Isn't it possible to pass a filepointer to a dll function, or is there anything else to do before passing this pointer? TIA, Chris

    C / C++ / MFC question

  • How to change window caption font
    C Chris Vischer

    Hi everybody, is there an easy way to change the window caption font for modal or modeless dialog boxes? I just want to change the font and want MFC to do the rest of the work, like drawing the text and the min/max buttons etc.. TIA, Chris

    C / C++ / MFC c++ graphics json tutorial question

  • Generic text mapping function for atof()
    C Chris Vischer

    Hi Serge, i need the conversion from ascii to float, not the other way round. Tx, anyway for answering. Chris

    C / C++ / MFC question

  • Generic text mapping function for atof()
    C Chris Vischer

    Hi, isn't there any mapping function to convert a float to a unicode string? _ttoi() and _ttol() are defined but im am missing _ttof(). Tx, Chris

    C / C++ / MFC question

  • Unicode/Ansi conversion macros in '.c' files
    C Chris Vischer

    Hi all, how can i use the unicode/ansi conversion macros like T2A( ) in an c-file. The macros are defined in the afxpriv.h, but if i include this headerfile i get the error that my file has no 'cpp' extension. -> #error MFC requires C++ compilation (use a .cpp suffix) Can anybody help with a solution or a workaround? TIA, Chris

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

  • Localization of resources
    C Chris Vischer

    Hi everybody, where do i find the RLMAN.EXE described in the MSDN to localize existing resources. And, there must also be an UCONVERT.EXE to convert files from ANSI to UNICODE. I have installed VC++6.0 professional, but it is not coming with it. TIA, Chris

    C / C++ / MFC c++

  • Language support for dialogs
    C Chris Vischer

    Hi all, is it possible to have language specific dll's only with the resources in it, like dialogs, menus and stringtable. But the dialog classes for these dialogs in the main application? Because i want to load the dll at runtime to have the language the user specified as interface language. That means, differnt languages for the dialogs but only one dialog class. TIA, chris

    C / C++ / MFC question

  • Unicode and using different input locales
    C Chris Vischer

    Hi, i have a few questions about developing unicode application using different input locales. I am using Windows NT English version First what i have done: - i added japanese as a new input locale - i changed the compiler and linker settings to unicode Questions: How is it possible to enter japanese characters into an edit field? Switching the locale in the systray doesn't have an affect to the input to the field. Do i have to install anything else? Do i have to install an IME? if so, where can i get it. Does this only works with an NT Japanese version? Where can i get same more information about IME and input of characters like japanese or arabic etc. At least, enter japanese chars into an internet explorer entry field works after switching the locale. An additional window pops up where i can select different input modes. TIA, Chris

    C / C++ / MFC question announcement

  • How to add horizontal scrollbar to dropdown list
    C Chris Vischer

    Hi, how can i add a horizontal scrollbar to the dropdown list of my combobox ? SetHorizontalExtend() won't do anything, although i have added the style WS_HSCROLL. Any idea? TIA Chris

    C / C++ / MFC question tutorial

  • CListCtrl using OnCustomDraw()
    C Chris Vischer

    Hi all, i am drawing the listitems by myself using OnCustomDraw(). Calculating the text length i am using pDC->GetTextExtended(s) where pDC is the DC i received in the parameter struct. That's working fine, but if i want to calculate the text lenght in another member function using: CDC *pDC = GetDC(); CSize cs = pDC->GetTextExtended(s); where s is the same string, i get a different size. Any advise. TIA Chris

    C / C++ / MFC graphics

  • CListCtrl with multiline items
    C Chris Vischer

    Hi, i am looking for a listcontrol which enables to have multiline items. I tried to use the NM_CUSTOMDRAW message according to Mike Dunn's article but i am still having problems with selecting,editing and positioning the items. Does anyboby have already done this? TIA, Chris

    Article Writing question

  • PreTranslateMessage, how to check key combination like Ctrl+R
    C Chris Vischer

    Hi, in my dialog the users want to change focus not by using the tab-key, instead they want to jump directly to the different controls using accelerators. Therefor i want to check the key combination in the PreTranslateMessage method, to set the focus. How can i check this, because i always get only one key in the pMsg->wParam variable and not the combination. Need some advise or another solution. TIA, Chris

    C / C++ / MFC tutorial question

  • Notification, if dialog gains the focus?
    C Chris Vischer

    Hi, i have several modeless dialogs and i want know when the dialog gets the focus. I haven't found any message which is send to the dialog before he gets the focus. Any solution? TIA, Chris

    C / C++ / MFC question

  • ListCtrl with multiline entries
    C Chris Vischer

    Hi everyone, is it possible to have a ListCtrl in report-style with multiline entries? TIA, Chris

    C / C++ / MFC question

  • How to set focus to dialog controls
    C Chris Vischer

    Hi everybody, i have a dialog with a treectrl and several other controls like combo and listboxes, and i want that if you doubleclick a treenode/item that his related control in the dialog gets the focus. The treenode stores a pointer to his related control. I tried pControl->SetFocus() in the OnDblClk handler but it doesn't work. Need help. TIA, Chris

    C / C++ / MFC help 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