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
J

Joel Lucsy

@Joel Lucsy
About
Posts
321
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Where's the HWND in Form?
    J Joel Lucsy

    If form was your form object, try: (HWND)form.Handle.ToPointer()

    .NET (Core and Framework) c++ com question

  • button appearance remain unchanged after VS2005 conversion
    J Joel Lucsy

    Did you try "system" instead of "standard" for the FlatStyle?

    C# question csharp visual-studio

  • Interprocess communication??
    J Joel Lucsy

    You can not, I repeat CAN NOT share a DC across a thread boundry, process boundry, and heaven forbid, machine boundry. VNC works by communicating bitmaps, Remote Desktop shares data at a much lower level, but writing your own would proably require many man-years worth of work. I suggest you stick with VNC as it is as much an industry standard as you'll likely to get.

    C / C++ / MFC question sysadmin performance help tutorial

  • CxImage - again - pDib question
    J Joel Lucsy

    What about GetDIB()? Thats all you'd need if you're using for StretchBlt or equiv. I've used CxImage quite a bit. -- Joel Lucsy

    C / C++ / MFC help tutorial question discussion lounge

  • Using ILMerge to embedd C++ DLL into C# EXE
    J Joel Lucsy

    Quick answer: you can't. ILMerge will only merge .NET assemblies. Long answer: yes or maybe. One method is to embed the dll as a resource and extract and load it at runtime. This method works as I've done it before. Another method is to extract the resource into memory and directly call the C++ functions. I know its possible to do it from unmanaged, but haven't attempted it from managed yet. -- Joel Lucsy

    C# csharp c++ help tutorial

  • Tristate checkboxes in TreeView?
    J Joel Lucsy

    As has been said, no, you're not missing anything. The way to do it is to use imagelists with graphics stolen from elsewhere and just set the item to the check in question. You'd have to override mousedown to determine if a click is on-top of the image and then switch it to the appropiate image. That said, I'm sure there are third-party controls that already do it, but I never looked into it myself.

    C# csharp com tools question

  • Richedit-like HTML control?
    J Joel Lucsy

    As has been mentioned QHTM works pretty good and have used it in a number of products. However, I'm now using HTMLayout from http://www.terrainformatica.com/[^] as it supports CSS! -- Joel Lucsy

    The Lounge c++ html hardware question

  • Recommendations for a web-based Bug Tracking System
    J Joel Lucsy

    If you can spend money, try Jira at http://www.atlassian.com/jira[^]

    The Lounge c++ csharp css asp-net com

  • FileSync Question...
    J Joel Lucsy

    How about FolderShare?

    The Lounge question career learning

  • CreateProcess issue
    J Joel Lucsy

    You are getting a "ghost" of the app. The system will create a dummy window that mimics the original when the original stops processing. Not sure why they did this, but thats the second window you're seeing. It won't actually do anything. Your best bet is to reengineer it so that you don't block in the original app while waiting for the second to close. Maybe disable the application window and start a thread that waits for the second app to finish, then enable everything again.

    C / C++ / MFC help c++ visual-studio oop workspace

  • 1999 joke ported to 2007 and adjusted for C#
    J Joel Lucsy

    I gotta ask, are those supposed to be jokes? They didn't make me laugh. In fact, I winced. They reminded me of old black-n-white movies where you can definitely tell its an old movie by their speech patterns.

    The Lounge csharp c++ com json performance

  • Choice of Font for VS Code Editor
    J Joel Lucsy

    Currently Consolas, but used to use one called "Arial Monospaced". I used to have everything in Arial, but came across the new ones for Vista and I'm completely sold. Segoe UI for everthing that doesn't want a monospaced font, Consolas otherwise. I've found Consolas very readable for characters that are similar, 0's have a slash, o's dont. 1's and l' are easily indentified, and lowercase letters are larger than normal for readibility, but are distinct from uppercase.

    The Lounge visual-studio question

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    Bummer. I'm fresh out of ideas. I'm sorry I couldn't figure it out for you. Hope something clicks and it works out.

    C / C++ / MFC help question

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    Ah, sorry, too many different compilers/languages on my system. It'll be in the resources of the project, you'd have to delete it from there.

    C / C++ / MFC help question

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    VC7 has an option during project creation for including a manifest for C++ apps that defaults to "ON". Check your project or project/res directory for a .manifest file. If you have one, then its probably being used. Try turning it off.

    C / C++ / MFC help question

  • Where is always show selection in Listviews?
    J Joel Lucsy

    Look at "HideSelection".

    C# csharp question

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    Oh, um, are you using a manifest under VC6? I know when you use manifests (to get the XP style look), imagelists behave differently. I think, but not certain by any means, that the newer compilers handle this without problems, but I'm fairly sure VC6 won't. I've found CImageList won't work quite right, I had to use the macros like ImageList_Create for it to work right.

    C / C++ / MFC help question

  • In-memory DB engine?
    J Joel Lucsy

    Sorry to take so long to see your message, but investile sqlite as it'll have the features you're most likely to want. There should be a number of wrappers for .NET out there.

    .NET (Core and Framework) database com algorithms xml performance

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    Just to be safe, does explorer highlight in blue when you select a file? Its possible to have your "scheme" have the highlight color set to gray. As another thought, is your ListView (or ListCtrl) derived from anything, meaning did you use a class from an outside source? Just wondering if perhaps you or that class might be using NM_CUSTOMDRAW to override painting. Also, what styles are being used on the view, single selection, full-row selection, show selection always, owner data, owner draw? Personally I've never seen a basic ListCtrl ever paint incorrectly without some kind of interference from code.

    C / C++ / MFC help question

  • Selection is gray in a CListCtrl
    J Joel Lucsy

    When you select an item using the mouse, different from the that is selected by default, does it appear in blue, or grey?

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