News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Recent posts

#1
Bug reports / Re: Ampersand in string toolti...
Last post by Pelle - Yesterday at 07:48:12 PM
OK, I will add TTS_NOPREFIX (for some future version). Less surprising, I guess...
#2
Bug reports / Re: Ampersand in string toolti...
Last post by TimoVJL - Yesterday at 09:44:48 AM
A tooltip feature, not a bug.

QuoteMany applications create toolbars containing tools that correspond to menu commands. For such tools, it is convenient for the tooltip control to display the same text as the corresponding menu item. The system automatically strips the ampersand (&) accelerator characters from all strings passed to a tooltip control, and terminates the string at the first tab character (\t), unless the control has the TTS_NOPREFIX style.
#3
Bug reports / Ampersand in string tooltip te...
Last post by omolin - Yesterday at 09:00:33 AM
Simple to reproduce. In my case I has a wide string like this: L"abcd&efgh"
When I hover over the variable name in the sourcecode in the debugger, the ampersand is not shown in the tooltip text. In the Auto window tab, the same variable is displayed correctly with the ampersand.
#4
Assembly discussions / Re: Some Stats
Last post by Vortex - May 25, 2025, 12:44:28 PM
A quick example :

.386
.model flat,stdcall
option casemap:none

COMM CommVar:DWORD

END

.386
.model flat,stdcall
option casemap:none

includelib  \PellesC\Lib\Win\kernel32.lib
includelib  \PellesC\Lib\Win\user32.lib
includelib   msvcrt.lib

EXTERN CommVar:DWORD

printf PROTO C :DWORD,:VARARG
ExitProcess PROTO :DWORD

.data

msg db 'COMM variable = %u',0

.code

start:

    mov     CommVar,256
    invoke  printf,ADDR msg,CommVar

    invoke  ExitProcess,0

END start
#5
Announcements / Re: Version 13.00 is now relea...
Last post by CandCPlusPlus - May 25, 2025, 01:34:20 AM
Thanks Pelle,

This version is working on my computers and I have not encountered any issues so far. :)
#6
Assembly discussions / Re: Basic GUI templates
Last post by Vortex - May 24, 2025, 10:34:00 PM
Dialog box example enhanced with the statement cinclude :

CINCLUDE directive (IA32, AMD64)
 
Purpose:
Parses a C include file, looking for #define statements.
#7
General discussions / Re: Icons / symbol bar oversiz...
Last post by icons2big - May 24, 2025, 06:07:01 PM
I can't go lower than 100% and I wouldn't change the scaling system wide for one program anyway.

Why is there no option to change the size of the icons in the IDE?
#8
Work in progress / Re: win32-doc md files
Last post by TimoVJL - May 24, 2025, 05:42:18 PM
A your example provide, that MS help file is just useless.

Last locally working help file is from 2019-09-05

After that, just pile of shi....
#9
General discussions / Re: Icons / symbol bar oversiz...
Last post by John Z - May 24, 2025, 05:29:42 PM
Check your display settings under System-Display-Scale&layout-Scale. 
Best to use the recommended, but you can try smaller setting.

John Z
#10
General discussions / Re: Icons / symbol bar oversiz...
Last post by icons2big - May 24, 2025, 02:52:02 PM
Quote from: John Z on May 24, 2025, 02:26:24 PMWhat screen resolution are you using.  1920 x 1080 they look fine.

1920x1200