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
O

Oz Ben Eliezer

@Oz Ben Eliezer
About
Posts
12
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Tooltips + Codepage / Owner-drawn
    O Oz Ben Eliezer

    Hey all. I want to be able to display tooltips text in a different codepage from the system's current default codepage (in a non-Unicode OS, such as Windows 98, Windows ME, etc.) Any ideas? Thanks!

    C / C++ / MFC question

  • How can I get the version of RICHED20.DLL?
    O Oz Ben Eliezer

    Hey, I need to programatically retrieve the exact file version number of RICHED20.DLL (such as "5.30.23.1205") and the control version (2, 2.1 or 3) How can I do that? I couldn't find the solution in MSDN Library. Thanks in advance.

    C / C++ / MFC question announcement

  • Deleting STL list elements
    O Oz Ben Eliezer

    Try the following: list< double* >::iterator i; while ((i = my_list.begin()) != my_list.end()) { double *p = *i; my_list.pop_front(); delete [] p; }

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

  • How do I deploy riched20.dll?
    O Oz Ben Eliezer

    Hey all. My application (ActiveX Control) requires Rich Edit Control v3. (v2 doesn't right-align correctly from some reason). I couldn't find a redistributable package on MS site. Can I just pick up the riched20.dll on my computer, along with 2 or 3 DLLs it depends on, and deploy them on the clients' machines (if they don't have a newer DLL)? Or is it somehow dangerous / illegal / etc.? Thank you!

    C / C++ / MFC question com

  • Right-aligning with WS_EX_RTLREADING
    O Oz Ben Eliezer

    I can't thank you enough! That's the cause... Everything works great with Rich Edit Control 3, but not-so-great with version 2. Do you have any idea WHY version 2 doesn't right-align correctly? Thanks!

    C / C++ / MFC csharp visual-studio help question

  • Right-aligning with WS_EX_RTLREADING
    O Oz Ben Eliezer

    Hey all. I use CreateWindowEx to create a Rich Edit Control. I use WS_EX_RIGHT | WS_EX_RTLREADING to make it right-aligned on a Hebrew OS. It works well on Windows 2000, but on a clean installation of Win98 Heb-enabled, the content of the Rich Edit Control is left-aligned. On a not-so-clean installation of Win98 (which has Visual Studio, Office, etc.) - it displays correctly. The problem is not with comctl32.dll - copying that file from the "good" win98 to the "bad" win98 doesn't solve it. Any ideas??

    C / C++ / MFC csharp visual-studio help question

  • I'm a total fraud!!! God am I a newbie!!! :)
    O Oz Ben Eliezer

    Shouldn't it be delete [] pBody; instead of delete pBody; ?

    C / C++ / MFC c++ question com design debugging

  • Programmatically setting IE's homepage (how?)
    O Oz Ben Eliezer

    Thank you - but is this path correct for all versions of IE? (4+, actually) - and is it guranteed to remain correct for future versions? Or - is there some (COM?) API I can call to do it for me?

    C / C++ / MFC question c++

  • Programmatically setting IE's homepage (how?)
    O Oz Ben Eliezer

    Hey all, How can I set IE's homepage using C++ code? (Like ICQ does when you install it) Thanks! Oz

    C / C++ / MFC question c++

  • Urgent: ActiveX and repaint issues.
    O Oz Ben Eliezer

    Hey all! I'm semi-desperate. I developed an ActiveX control that runs within IE, using ATL. In it, I use owner-drawn controls and common controls (listview, tabbed control). Sometimes (more often on win98 than on win2k / xp), when a dialog (generated by the ActiveX or by another application) covers part of the ActiveX, and then is removed (closed, not dragged away) - some (or all) of the area that was previously covered is not repainted. This behavior startled me - so I decided to use remote debugging, to hunt down the WM_PAINT and related messages. I was able to recreate a procedure during which a dialog covered part of the ActiveX - and when I removed it - one of the owner-drawn buttons was not repainted (a grey rectangle appeared instead of the button's image). I put a breakpoint inside ATL's ProcessWindowMessage (the function that is inserted by the BEGIN_MSG_MAP() macro). After dismissing the dialog - NO MESSAGES WHATSOEVER were sent to the application! I also noticed that sometimes when a convering window is closed and the ActiveX seems to be properly repainted - no messages are received (as if Windows "remembered" the content of the control). Sometimes even tooltips leave a grey rectangle behind them when they disappear! (this happens a lot in Win98). The ActiveX control has its own HWND. Im not sure I fully understand the way the ActiveX control receives messages. Does its window receives messages directly from Windows, or do messages somehow pass through IE? And at any case - can anyone offer a solution to this problem? (or at least give me a lead...) Thanks a lot in advance! Oz

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

  • DLL mandatory with EXE
    O Oz Ben Eliezer

    Hey, I have a related question. How do you deal with Unicode issues? I think (am I wrong?) that some system (or at least Microsoft) DLLs come in two flavors - Unicode and ANSI. Suppose that my application is compiled as an ANSI application, and I want to distribute it with a set of compatible DLLs - how do I avoid overwriting ANSI versions of DLLs with Unicode versions, and vice versa? Also - where can I find the redistributable DLLs? (MS surely doesn't expect me to copy them from my HD, do they?) Thanks!

    C / C++ / MFC question c++ debugging help announcement

  • ODBC API, BLOBs
    O Oz Ben Eliezer

    Hey, Does anyone know about a quality resource that would show me how to store and retrieve BLOBs (specifically, an image) to and from a database? (In MS-SQL Server 7/2000, using ODBC). Thanks! Oz

    C / C++ / MFC database sql-server sysadmin json 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