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
H

HENDRIK R

@HENDRIK R
About
Posts
349
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • doc/view ???
    H HENDRIK R

    You can simply use CDocument's GetFirstViewPosition() and GetNextView() to access the desired view. An alternative for frame windos is calling AfxGetMainWnd()->GetActiveView(), which gives you access to the current view.


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC tutorial question

  • Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class.
    H HENDRIK R

    ocean2000 wrote: Erverthing is ok today! I don't know why ... better than the other way around ;)


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC help c++ debugging workspace

  • TTN_NEEDTEXT never called
    H HENDRIK R

    Did you call EnableToolTips from within your dialog window?


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC help

  • How to .place a Image (BMP, JPEG etc) on a Button
    H HENDRIK R

    As you surely know you create a button using CreateWindow, specifying BUTTON as class name. Also here you can specify BS_BITMAP as a window style, and then use BM_SETIMAGE to place an image on the button.


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC tutorial

  • How to .place a Image (BMP, JPEG etc) on a Button
    H HENDRIK R

    Zeeshan Bilal wrote: How to place a Image (BMP, JPEG etc) on a Button Either create a CButton object using the BS_BITMAP style, or derive your own class from CButton and do the drawing yourself. The latter solution could for example make use of the IPicture interface to actually display the image.


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC tutorial

  • Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class.
    H HENDRIK R

    Sounds like the compiler doesn't recognize CMySocket. If you included MySocket.h inside collectorinfo.h, then announce the class in collectorinfo.h by typing class CMySocket before any declarations. Or inlcude the header inside collectorinfo.h.


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC help c++ debugging workspace

  • AfxGetModuleState not returning DLL's ModuleState
    H HENDRIK R

    ohadp wrote: I want my module to always use the same AFX_MODULE_THINGY, why can't the AFX methods do AfxGetStaticModuleState(), that is my question actually. Why did they leave it this way ? Unfortunately (?) I was never a part of the development teams that invented MFC and the related techniques. So I fear this is a question I can't answer you - I just take it as is, and every time my DLL does some weird things the 'AFX_MODULE_THINGY' is the first thing that comes to me. Hope you'll reach that state soon, too. ;)


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC c++ question

  • AfxGetModuleState not returning DLL's ModuleState
    H HENDRIK R

    AFAIK this is the only solution. I don't think it's weird cause you only want to change the module state during the function call, and then set it back to the main application. And adding one line of code isn't too bad, is it ? :)


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC c++ question

  • AfxGetModuleState not returning DLL's ModuleState
    H HENDRIK R

    try MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_afx_manage_state.asp[^]


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC c++ question

  • AfxGetModuleState not returning DLL's ModuleState
    H HENDRIK R

    Did you insert AFX_MANAGE_STATE(AfxGetStaticModuleState()); before any MFC call you do from within a DLL function?


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC c++ question

  • Funny Japanese Ad ...
    H HENDRIK R

    I love it ... he's so natural you can't even see he is acting ... :-D


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Back Room com question

  • Be the first on your block..
    H HENDRIK R

    Chris Meech wrote: So how can you call it a car? I'd say it fits into every nearly-standard parking lot. That makes it a car for me. :)


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Lounge html com sales tools question

  • System::String _gc* to char *
    H HENDRIK R

    a look at msdn brings the following solution: using namespace System::Runtime::InteropServices; const char* str = (const char*) (Marshal::StringToHGlobalAnsi(managedString)).ToPointer(); // use str as you wish or copy it elsewhere // free string Marshal::FreeHGlobal(IntPtr((void*)str));


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC c++ help csharp database

  • getdlgitem/getwindowtext
    H HENDRIK R

    raysuman wrote: the problem is that there is no gurantee that this object will be created in program lifetime perhaps calling IsWindow(..) with the handle of the static control to receive the text from before doing so helps


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC help announcement

  • What is Expanded View...
    H HENDRIK R

    Roger J wrote: Like the others , I want to raise my post count But you're the first one to admit ;) ... oh, just realize that this gives me one more message point too :rolleyes:


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Lounge question c++

  • Tar and feather me
    H HENDRIK R

    Rob Manderson wrote: Anyone else prepared to confess? Yep! Especially the style makes me dance, compared to that late 90s design VC6 has ... ... but why are sometimes those stylish "animated" toolbars so unwilling to hide themselves again :confused:


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Lounge visual-studio question announcement

  • import lib file in VC.Net
    H HENDRIK R

    you need to announce the whole path to your library file inside the pragma comment instruction ... #pragma comment(lib, "path_to_lib/libname.lib")


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    C / C++ / MFC csharp c++ tutorial question

  • when 1.2Gb was big
    H HENDRIK R

    Paul Watson wrote: And we did not have CDs in those days to back up onto. On no, we backed up onto floppies. 20 stiffies for Doom if I remember correctly. All those damned WAD files. :) Not to forget the 18th disk always having a little 'problem' and the obligatory "let's hope norton utilities helps" solution ...


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Lounge performance

  • when 1.2Gb was big
    H HENDRIK R

    brianwelsch wrote: bleeeEEEEE-DEEEEEE-uurrrrrrr-eeeeEEEEE Yep! This describes it better than anything else. ... I still prefer the "EEEEE-DEEEEEE" part ;)


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

    The Lounge performance

  • import lib file in VC.Net
    H HENDRIK R

    how about #pragma comment(lib, "winmm.lib") ? that should work on both 6.0 and .NET


    We are men. We are different. We have only one word for soap. We do not own candles. We have never seen anything of any value in a craft shop. We do not own magazines full of photographs of celebrities with their clothes on. - Steve

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